"Memory allocation failed" with SVG file

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

"Memory allocation failed" with SVG file

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: "Memory allocation failed" with SVG file

Post by magick »

We can reproduce the problem you posted and have a patch in the Subversion trunk available sometime tomorrow. Thanks.
bensmith

Re: "Memory allocation failed" with SVG file

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: "Memory allocation failed" with SVG file

Post 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.
bensmith

Re: "Memory allocation failed" with SVG file

Post 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.
Post Reply