Page 1 of 1

Converting large SVG to PNG

Posted: 2012-11-17T11:41:57-07:00
by dmbaturin
Hi,
I'm using ImageMagick 6.6.0 on Debian Squeeze. I produced an SVG file with graphviz, but as dataset is very large, the SVG output is about 18MB large as well. Now I want to convert it to PNG.
However I get the following error:

Code: Select all

$ convert ./map.svg -limit memory 0 -limit map 0   ./map.png
convert: memory allocation failed `./map.svg' @ error/svg.c/ReadSVGImage/2825.
convert: option requires an argument `-resize' @ error/convert.c/ConvertImageCommand/2311.
What am I doing wrong and what should I do to reach the goal?