Page 1 of 1

Converting SVG to PNG - fill content doesn't work

Posted: 2013-04-28T01:54:12-07:00
by sancappello
Hi everyone!
I'm trying to convert a SVG image into a PNG using ImageMagick.
Here is the SVG file:
file.svg

The command that I use is the following:

Code: Select all

convert file.svg -scale 800x600^ png8:file.png
With older versions of IM the dots appeared to be filled with black color, but after I updated to the last version (6.8.5-0) the fill option started to be ignored, and the result is this:

Image

Am I missing something or doing something wrong?

Re: Converting SVG to PNG - fill content doesn't work

Posted: 2013-04-28T10:57:09-07:00
by fmw42
are you using the IM msvg or the rsvg rendering delegate library.

type

convert -list format

and see what it says for SVG. Does it list RSVG? If not, download the RSVG delegate and reinstall IM to use it.

When try, I get an error message. So something appears to be malformed


convert file13671382410.svg file13671382410.png
convert: invalid geometry `nannan' @ error/geometry.c/ParsePageGeometry/1444.