Page 1 of 1

"Memory allocation failed" with SVG file

Posted: 2009-03-19T09:14:10-07:00
by naoliv
Hi!

Converting this SVG file http://upload.wikimedia.org/wikipedia/c ... rctica.svg gives a wrong image.

By running "convert Flag_of_Antarctica.svg Flag_of_Antarctica.png" the resulting image is somehow "cropped". See http://naoliv.googlepages.com/Flag_of_Antarctica.png

"display" shows the image correctly.
ImageMagick version is 6.5.0-0

Thank you!

Re: "Memory allocation failed" with SVG file

Posted: 2009-03-19T09:55:47-07:00
by magick
We can reproduce the problem you posted and have a patch in the Subversion trunk available sometime tomorrow. Thanks.

Re: "Memory allocation failed" with SVG file

Posted: 2009-05-27T09:26:07-07:00
by bensmith
I'm not sure if this is the same problem. This SVG:

http://openclipart.org/clipart/animals/ ... ahl_01.svg

comes out cropped after a convert to png or jpg.

I see this problem with 6.5.2-9.

Re: "Memory allocation failed" with SVG file

Posted: 2009-05-27T10:34:31-07:00
by magick
We cannot reproduce this problem. The conversion appears to be ok. Post a URL to your PNG image so we can compare it to our results.

Re: "Memory allocation failed" with SVG file

Posted: 2009-05-27T13:41:08-07:00
by bensmith
The problem is that part of the bottom (hooves area) of the bison is cropped.

http://www.bensmith.com/bison.png

This might be something with the SVG file. I just noticed that firefox displays the SVG correctly, but Eye of Gnome crops it the same way that ImageMagick does.