I am using Ubuntu 11.10. I have installed ImageMagick from the latest source package. Here is the output from "convert -version"
Version: ImageMagick 6.7.6-6 2012-04-19 Q16 http:// www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP
I am trying to convert an svg into a png which works great unless I have a gradient on some part of the image.
Here is the command I am running: "convert RedPoweredByPenguins.svg redpenguin.png"
Here is the SVG: http://gamepsychos.com/penguinCheckers/redPenguin.svg
And here is the png it creates: http://gamepsychos.com/penguinCheckers/ ... infail.png
When I run this same command on Fedora 16, I don't lose the gradient. I think maybe one of the libraries ImageMagick uses is not the same but I'm not sure. Anyone have any ideas?
Thanks in advance!
Gradient on Ubuntu
-
- Posts: 3
- Joined: 2012-04-19T12:08:34-07:00
- Authentication code: 13
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Gradient on Ubuntu
If the rsvg library is installed, IM will use it to decode SVG images to raster.
If it is not present it will use a simple internal SVG decoder (never completed) known as MSVG
You can use -list format to see what version it is using.
In my case 'SVG' is using RSVG, library version 2.34.2 (I am using fedora 16 here)
For more details see IM examples, Drawing on Images, SVG
http://www.imagemagick.org/Usage/draw/#svg
If it is not present it will use a simple internal SVG decoder (never completed) known as MSVG
You can use -list format to see what version it is using.
Code: Select all
convert -list format | grep SVG
MSVG SVG rw+ ImageMagick's own SVG internal renderer
SVG SVG rw+ Scalable Vector Graphics (RSVG 2.34.2)
SVGZ SVG rw+ Compressed Scalable Vector Graphics (RSVG 2.34.2)
For more details see IM examples, Drawing on Images, SVG
http://www.imagemagick.org/Usage/draw/#svg
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/