Version 1.2018.07 DPI handling

0 votes
asked Jun 15, 2018 in Bug by Jeff
While playing with the new sprites in the stdlib as part of the new version (1.2018.07), I encountered a problem when I generated a PNG image with "skinparam dpi 300".

The resulting PNG had the sprites shrunk to a smaller size, comparing to the one generated for SVG.  The previous version did not have this problem.  Unfortunately the Imagemagick "convert" command could not convert the SVG to PNG properly so I had to revert back to previous version.

Is there a new/better way to generate PNG with higher resolution output, or "dpi" skin parameter is the only/right way for this?

1 Answer

0 votes
answered Jun 15, 2018 by plantuml (257,860 points)
Best answer
Thanks for the report.

It's indeed a regression, that should be fixed in last beta

Tell us if it's not working for you.
commented Jun 15, 2018 by Jeff
Thank you very much for the quick turnaround.  The beta version indeed fixed the DPI problem for sprites, but unfortunately not for IMG tag such as the following:

rectangle "<img:SaaS.png{scale=1}>\r SaaS" as saas

The generated PNG has the sprites in the right size, while the IMGs are shrunk as before.  Sorry I should've mentioned earlier in the original report.
commented Jun 15, 2018 by plantuml (257,860 points)
Well, we're sorry we did not test better :-)
Anyway, thanks for the new report : this should be ok in newly beta
Once again, tell us if it's not working for you or if you find other issues!
commented Jun 15, 2018 by Jeff
No worries.  You guys are awesome.  It works now!