You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Generated diagrams does not include PlantUML metadata.
Reproduction
Steps to reproduce the behavior:
Write a PlantUML diagram script in a file named pumltest.puml
Refresh the PlantUM View to show diagram
Save diagram in PNG/SVG format or right click to export diagram in PNG/SVG format
Check the saved PNG/SVG diagram for metadata content (java -Dfile.encoding-UTF-8 -jar plantuml.jar -metadata -charset UTF-8 pumltest.png
Expected behavior
Expected the PlantUML script is embedded in the PNG/SVG diagram file.
Environment
Windows: Windows 10
Notepad++ version: 8.7.5 (64-bit)
PlantUML Viewer: 1.8.0.12
Additional information
Using the plantuml-1.2024.8.jar (included in the PlantUML plugin) command line to generate PNG/SVG diagrams does contain metadata. However, the diagram exported from the PlantUML Viewer is missing the metadata.
The text was updated successfully, but these errors were encountered:
thanks for reporting.
PlantUmlViewer rerenders the images generated by plantuml, this means exported images are not the original plantuml images anymore. Content like image metadata gets lost here.
Your report therefore can be seen more as a feature than a bug but definitively a potential feature / improvement for the future. But it definitively needs a few modifications in the code.
Thanks for the clarification.
As this was intended by design, it makes sense to be a feature enhancement
request / suggestion then.
For now, I will work around with using NppExec to get a diagram with
metadata after the diagram creation is done.
Thanks for your quick response.
David
Description
Generated diagrams does not include PlantUML metadata.
Reproduction
Steps to reproduce the behavior:
Expected behavior
Expected the PlantUML script is embedded in the PNG/SVG diagram file.
Environment
Additional information
Using the plantuml-1.2024.8.jar (included in the PlantUML plugin) command line to generate PNG/SVG diagrams does contain metadata. However, the diagram exported from the PlantUML Viewer is missing the metadata.
The text was updated successfully, but these errors were encountered: