SVG to PNG

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Anandkv
Posts: 14
Joined: 2009-11-18T06:54:09-07:00
Authentication code: 8675309

SVG to PNG

Post by Anandkv »

Hi All,

I am using the imagemagick convert command to convert the SVG vector graphic image to PNG image. Everything is working fine but i am having an issue with a SVG file. Not sure whether the problem is with the SVG or with the command i am using.

Convert Command: 'convert -density 300 -background none butterfly.svg butterfly.png'

SVG File: http://newtoybox.com/butterfly.svg
Output PNG file: http://newtoybox.com/butterfly.png

Expected PNG file : http://newtoybox.com/butterfly_expected_image.png. (SVG file opened fine in illustrator).

Please help me in this regard,

Cheers!!!
Anand Krish
Anandkv
Posts: 14
Joined: 2009-11-18T06:54:09-07:00
Authentication code: 8675309

Re: SVG to PNG

Post by Anandkv »

Can anyone help me in this regard,

Thanks,
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: SVG to PNG

Post by magick »

Your SVG image rendered properly for us. We're using ImageMagick 6.5.7-8 with support for the RSVG delegate library. Identify -list format returns:
  • SVG SVG rw+ Scalable Vector Graphics (RSVG 2.26.0)
Anandkv
Posts: 14
Joined: 2009-11-18T06:54:09-07:00
Authentication code: 8675309

Re: SVG to PNG

Post by Anandkv »

Hi,

We updated the library and its working fine now. thanks a lot for your support.

warm Regards,
Anand Krish
Post Reply