I want to increase the quality of the image output.

0 votes
asked 2 days ago in Question / help by yousan
Hello.
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 1 day ago by albert (3,000 points)
Would changing to SVG be an option?
commented 1 day ago by anonymous
We believe that changing the SVG will not change the resolution.
However, I have described what I have tried.
commented 1 day ago by albert (3,000 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 2 days ago by The-Lu (21,320 points)

Hello Y.,

For that you can use:

1/ Scale

scale 5
'or
scale 200*100
'or ...

2/ DPI

skinparam dpi 300

If that can help,
Regards,
Th.

commented 2 days ago by yousan
Thank you!
Now you can share your high-quality class diagram with others!
...