Page 1 of 1
svg to png on Ubuntu
Posted: 2010-06-03T09:12:22-07:00
by Max-B
Hi,
I'm running ImageMagick in order to convert svg to png on Ubuntu 10.04 with the command
The problem i found is that blur polygon in svg file are completely ignored. I have run the same command on a Debian Lenny and it works perfectly.
Here are two example:
DEBIAN LENNY -----------> UBUNTU LUCID
The ImageMagick version on Ubuntu is 6.5.7 on Lenny is 6.3.7
Does anybody knows how can I solve on the Ubuntu machine?
Ciao,
Max
Re: svg to png on Ubuntu
Posted: 2010-06-03T09:14:35-07:00
by fmw42
do you have the RSVG delegate library installed on both machines and are they the same version
Re: svg to png on Ubuntu
Posted: 2010-06-03T23:12:04-07:00
by anthony
See SVG Handling for details. It is important to know if your using RSVG (externel) or MSVG (internel) driver. probably the later.
http://www.imagemagick.org/Usage/draw/#svg
Re: svg to png on Ubuntu
Posted: 2010-06-03T23:59:44-07:00
by Max-B
Here is my output on Debian Lenny:
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.22.2)
SVGZ* SVG rw+ Compressed Scalable Vector Graphics (RSVG 2.22.2)
and here on Ubuntu 10.04
Code: Select all
$ convert -list format |grep SVG MSVG SVG rw+ ImageMagick's own SVG internal renderer
SVG SVG rw+ Scalable Vector Graphics (XML 2.7.5)
SVGZ SVG rw+ Compressed Scalable Vector Graphics (XML 2.7.5)
Is there a way to use RSVG without recompiling?
ciao,
Max-B
Re: svg to png on Ubuntu
Posted: 2010-06-04T00:11:37-07:00
by anthony
If the rsvg library is installed it might start working immediatally.
Code: Select all
:::> type rsvg
rsvg is /usr/bin/rsvg
Otherwise you need to rsvg development package and a re-build.
It should also be posible to write your script to use teh rsvg command to generate the raster, and then feed that to IM if you need more image processing.
Re: svg to png on Ubuntu
Posted: 2010-06-04T09:06:17-07:00
by fmw42
type
convert -list configure
look at what is listed in the line starting with DELEGATES. Does it include rsvg?