Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.8
-
None
-
None
-
Batik-1.8, Windows 10
Description
When converting svg to png not responding to the parameter -dpi.
Example:
batik-1.8\batik-rasterizer-1.8.jar -dpi 100 -m image/png -bg 255.255.255.255 C:\test*.svg
and
batik-1.8\batik-rasterizer-1.8.jar -dpi 300 -m image/png -bg 255.255.255.255 C:\test*.svg
Obtained png files have the same resolution.
The default resolution of 90dpi svg. When converting to 300dpi all dimensions must be increased proportionally.
And the picture should be higher resolution. Inkscape and imageMagick take this into account when converting.