SVG to PNG problem
Posted: 2010-09-04T09:52:01-07:00
I recently installed ImageMagick to convert SVG images on Mediawiki. However, images appear incorrect upon conversion as you can see below - I am using SVGs I obtained from Wikipedia and are the same ones used on there.

I have also attempted to convert the image using the command-line, and received the following error which I am guessing contributes to the reason why the converted image is incorrect.
I am using ImageMagick-6.6.3-10, although the same problem appeared with an earlier version I used (6.2?) under Cent OS 5 x86.
I have tried my best to search for a solution for this but I simply cannot find one. Any help would be greatly appreciated, thanks.

I have also attempted to convert the image using the command-line, and received the following error which I am guessing contributes to the reason why the converted image is incorrect.
Code: Select all
root@server [~]# convert Edit-clear.svg Edit-clear.png
convert: unrecognized color `"#radialGradient3564") rgb(0, 0, 0' @ warning/color.c/QueryMagickColorCompliance/2594.
convert: unable to open image `"#radialGradient3564") rgb(0, 0, 0': @ error/blob.c/OpenBlob/2517.
convert: no decode delegate for this image format `"#radialGradient3564") rgb(0, 0, 0' @ error/constitute.c/ReadImage/532.
convert: non-conforming drawing primitive definition `fill' @ error/draw.c/DrawImage/3149.
I have tried my best to search for a solution for this but I simply cannot find one. Any help would be greatly appreciated, thanks.