Can the GUI save the image?

0 votes
asked Nov 3, 2020 in Wanted features by das
Is it possible to save the image as a file from the GUI?

I'm looking to create an offline workflow where I edit the source-text (in notepad or similar), see the generated diagram (in the PlantUML GUI), and then easily save as an image.

1 Answer

0 votes
answered Nov 3, 2020 by Martin
I don't understand the question.  Assuming you mean the GUI obtained by double-clicking the JAR (or by running the JAR with -gui) then it already creates .png files by default.

When processed, a file "Test.puml" will change to display as e.g. "Test.png [Test.puml] (58 entities)".  And it will have created a file Test.png alongside the Test.puml.  Whenever Test.puml is modified, then Test.png is recreated automatically (while the gui is open).  Which sounds like exactly what you're asking for...?  I use it like this all the time for my offline editing, it's a great feature.