> java -jar batik-rasterizer.jar -dpi 300 -d M:/hinter M:/hint/*.svg > > But the option -dpi 300 doesn't make any difference. > The resulting png is exactly the same when I put --dpi 100 or -dpi 96. The > same file-size, no difference. > > What am I doing wrong?
A quick search within the mailing lists [1] brought up a potentially related thread [2]. It seems that you may be using percentage document dimensions (such as width/height set to "100%") and not specifying the canvas dimension to the rasterizer (-w/-h rasterizer options [3]). Is this the case? ;-) By the way, if that wasn't the case (and if further searching doesn't help either), can you attach a reduced test case [4] which shows the symptom? Thanks. > Regards, Hago Hope this helps, Helder Magalhães [1] http://xmlgraphics.apache.org/batik/mailing-lists.html [2] http://www.nabble.com/Svg-to-png-rasterizer-resolution---output-blurry-to2306600.html#a2306600 [3] http://xmlgraphics.apache.org/batik/tools/rasterizer.html [4] http://webkit.org/quality/reduction.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
