Include diagram source in output image metadata

0 votes
asked May 3, 2022 in Wanted features by debuti (120 points)
Hello

It would be great to have self-contained diagram files, that also carry its source inside them. In the case of PNG this can be implemented using the tEXt chunk (see https://www.w3.org/TR/PNG/#11textinfo), in the case of SVG it is also possible..

Thanks!

1 Answer

0 votes
answered May 4, 2022 by plantuml (295,000 points)
Well, we do store some information in tEXt and iTXt chunk (including the diagram source).

See https://plantuml.com/en/command-line#ce21470ab49d1d19

(Same thing for SVG, just edit any generated SVG files)

Is this what you are looking for?
commented May 4, 2022 by debuti (120 points)
Damn, that's exactly what I was looking after. Thanks a lot!!
...