I want to increase the quality of the image output.

0 votes
asked May 4, 2021 in Question / help by yousan
I am creating a class diagram in PlatUML and exporting it as PNG, but the quality is too low to see the details.
Is there any way to increase the output quality of this image?
I tried to check it myself, but could not find anything except PLANTUML_LIMIT_SIZE.
I thought about outputting it as SVG, but I want to output it as PNG this time.

Thank you very much for your help.
commented May 5, 2021 by albert (3,180 points)
Would changing to SVG be an option?
commented May 5, 2021 by anonymous
We believe that changing the SVG will not change the resolution.
However, I have described what I have tried.
commented May 5, 2021 by albert (3,180 points)
Sorry, I missed the SVG part, though I think it might be good to reconsider the usage of PNG over SVG.

1 Answer

0 votes
answered May 4, 2021 by The-Lu (37,840 points)

Hello Y.,

For that you can use:

1/ Scale

scale 5
scale 200*100
'or ...

2/ DPI

skinparam dpi 300

If that can help,

commented May 4, 2021 by yousan
Thank you!
Now you can share your high-quality class diagram with others!