I didn't have Inkscape installed; my package manager doesn't list it as a dependency.
With Inkscape installed the sizes are correct. The density option also works, without Inkscape.
Is Inkscape required to work with SVGs, I would assume it to just fail without it if that were the case. I may ask the ...
Search found 3 matches
- 2013-11-11T18:20:07-07:00
- Forum: Bugs
- Topic: SVG wrong size
- Replies: 7
- Views: 4961
- 2013-11-11T03:03:20-07:00
- Forum: Bugs
- Topic: SVG wrong size
- Replies: 7
- Views: 4961
Re: SVG wrong size
I get the same result after specifying px.
$ convert -verbose test.svg r.png
"inkscape" "test.svg" --export-png="/tmp/magick-6362JTDgGLI4XVXO" --export-dpi="90,90" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "/tmp/magick-63624Cl3pD2T1YK6" 2>&1
test.svg SVG 125x125 ...
$ convert -verbose test.svg r.png
"inkscape" "test.svg" --export-png="/tmp/magick-6362JTDgGLI4XVXO" --export-dpi="90,90" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "/tmp/magick-63624Cl3pD2T1YK6" 2>&1
test.svg SVG 125x125 ...
- 2013-11-10T17:20:05-07:00
- Forum: Bugs
- Topic: SVG wrong size
- Replies: 7
- Views: 4961
SVG wrong size
ImageMagic is reading SVGs as 25% larger than they are.
$ cat test.svg
<svg width="100" height="100">
<rect width="100%" height="100%" fill="white"></rect>
<text x="20" y="20">Text</text>
</svg>
$ identify test.svg
test.svg SVG 125x125 125x125+0+0 16-bit sRGB 124B 0.010u 0:00.030
I'm using ...
$ cat test.svg
<svg width="100" height="100">
<rect width="100%" height="100%" fill="white"></rect>
<text x="20" y="20">Text</text>
</svg>
$ identify test.svg
test.svg SVG 125x125 125x125+0+0 16-bit sRGB 124B 0.010u 0:00.030
I'm using ...