Alexander Pavlysh created BATIK-1184:
----------------------------------------

             Summary: Incorrectly handled parameter dpi when converting to png
                 Key: BATIK-1184
                 URL: https://issues.apache.org/jira/browse/BATIK-1184
             Project: Batik
          Issue Type: Bug
          Components: SVG Rasterizer
    Affects Versions: 1.8
         Environment: Batik-1.8, Windows 10
            Reporter: Alexander Pavlysh
            Priority: Minor
         Attachments: smile_batik.png, smile_imagick.png, smile_inkscape.png, 
smile.svg

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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org

Reply via email to