Hi,
 
I'm trying to convert a 50x50 (pixels) SVG image to a PNG with batik.  Using the command line tool 'batik-rasterizer.jar' to convert a source SVG file to a PNG (or any other format) I get a choppy looking output image.  I get the same result using the PNGTranscoder programatically in a Java class under Tomcat (Windows 2000).  If I set the output image size to 10 times the size of the original image, say 500x500 (pixels) (or increase the DPI) the resulting image looks pretty good... until you shrink it back down to 50x50. 
 
I find this puzzling to say the least.   If I convert the same 50x50 SVG to a 50x50 PNG via ImageMagick/JMagick the resulting image is crystal clear.   Am I doing something wrong?  Has anyone else experienced this problem?
 
Regards,
John Parisi

Reply via email to