So I have an SVG image input.svg:
Code: Select all
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
width="8.64in"
height="19in"
version="1.0"
>
<rect
style="fill:#000000;fill-opacity:1"
id="rect00001"
width="0.079000in"
height="0.118000in"
x="0.155500in"
y="0.612000in" />
</svg>
Code: Select all
convert -density 200 input.svg -type Bilevel tmp.jpg
I think this should generate a 1728x3800 image. However, using both identify and gimp to figure out the size, it generates a "4800x10555" image.
This generates:
Code: Select all
convert -density 120 input.svg -type Bilevel tmp.jpg
I am using an x86_64 binary, installed from CentOS 5.2 install, version ImageMagick-6.2.8.0-4.el5_1.1.src.rpm.
identify --version
Version: ImageMagick 6.2.8 04/17/08 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
Thanks in Advance for any help,
Kirby