List Info

Thread: SVG to PNG convertion too slow




SVG to PNG convertion too slow
user name
2006-07-03 13:24:39
Hi

I experienced diffulties by converting a very simple SVG
file (the flag of
Ukraine, as attachment) to PNG.

My test case follows:
$time convert flag.svg -resize 1% flag.png

real    6m44.164s
user    1m27.288s
sys     0m17.604s
$time rsvg -w 120 flag.svg flag.png

real    0m0.457s
user    0m0.017s
sys     0m0.016s

The SVG picture size is 12000x8000 pixels.

'convert' needs 6 minutes to generate a 120x80 pixel
picture !!!! where
'rsvg' only needs less than 1 second.

I guess a 12000x8000 bitmap buffer is generated, where a 
120x80 is only
needed.
Could be maybe a good idea to resize the svg before the
resize.

Best regards

Kelson

PS:I use the debian unstable packaged versions of
imagemagick and rsvg.
_______________________________________________
Magick-bugs mailing list
Magick-bugsimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-
bugs
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )