wireviz / WireViz

Easily document cables and wiring harnesses.
GNU General Public License v3.0
4.32k stars 223 forks source link

[feature] Enable base64-encoded images in the YAML input #322

Open kvid opened 1 year ago

kvid commented 1 year ago

Two possible ways to obtain this:

A functionality like this might help in use cases where separate image files can cause problems, like in #233 and #320.

kvid commented 1 year ago

It's described in #189 that Graphviz doesn't support base64-encoded images, so we probably would need to decode them into temporary image files in the preparation phase - and optionally delete it again in a final clean-up step when no longer needed. That will also be good for the aspect_ratio() function.