"Memory allocation failed" with SVG file

Post any defects you find in the released or beta versions of the ImageMagick software here. The ImageMagick maintainers carefully monitor this list and will work diligently to repair any reported problems. When posting a bug report, please specify both the ImageMagick version and operating system you are using.

"Memory allocation failed" with SVG file

Postby naoliv » 2009-03-19T09:14:10+00:00

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!
naoliv
 
Posts: 92
Joined: 2007-12-10T18:54:27+00:00
Location: Brazil

Re: "Memory allocation failed" with SVG file

Postby magick » 2009-03-19T09:55:47+00:00

We can reproduce the problem you posted and have a patch in the Subversion trunk available sometime tomorrow. Thanks.
User avatar
magick
Site Admin
 
Posts: 5671
Joined: 2003-05-31T11:32:55+00:00

Re: "Memory allocation failed" with SVG file

Postby bensmith » 2009-05-27T09:26:07+00:00

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.
bensmith
 
Posts: 2
Joined: 2009-05-27T09:15:39+00:00

Re: "Memory allocation failed" with SVG file

Postby magick » 2009-05-27T10:34:31+00:00

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

Re: "Memory allocation failed" with SVG file

Postby bensmith » 2009-05-27T13:41:08+00:00

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.
bensmith
 
Posts: 2
Joined: 2009-05-27T09:15:39+00:00


Return to Bugs

Who is online

Users browsing this forum: Google [Bot] and 2 guests