xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From florian <flor...@structbench.com>
Subject Re: svg measurements
Date Thu, 07 Mar 2002 11:18:17 GMT
>You may have a problem with the way you are using the rasterizer. I
>just created an example (see attachment) and setting the -dpi option
>does make a difference.

oops. you are right. it does make a difference. i rasterized your dpi.svg
like this:

java -jar batik-1.1.1/batik-rasterizer.jar -m image/tiff -dpi 150 dpi.svg

when i open the resulting tiff in photoshop, the resolution of the 
tiff is still 72.
when i change the dpi value to 150 (without resampling), the image is 11,99cm
wide and heigh..

so im wondering why the rastizer doesnt give the resulting image the right
dpi value right away?

and why the measurements are not 100% correct.. (11,99 cm instead of 12 cm)

thanks alot..



To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message