SVG and gradient fillings, while PNG convertion

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Kevich

SVG and gradient fillings, while PNG convertion

Post by Kevich »

So... as I'm new at ImageMagick, one more question =)
I'm trying to convert svg file into png, saving transparency. And it's doing fine, till svg file doesn't have any gradient fillings. When it has, that shapes becomes black-N-white with contour and no filling at all=(
Here's how I'm doing it:

Code: Select all

convert -verbose -background none -alpha Background -density 44 dog.svg dog.png
appreciate in any help in this..
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: SVG and gradient fillings, while PNG convertion

Post by fmw42 »

have you installed the RSVG package?

type

convert -list configure

see if it is included in the line starting with DELEGATES


otherwise post a link to your dog.svg file so that others can test it.
Kevich

Re: SVG and gradient fillings, while PNG convertion

Post by Kevich »

yep no rsvg in DELEGATES =(

Code: Select all

DELEGATES     bzlib fontconfig freetype jpeg jng lcms png tiff x11 xml zlib
think I found out where to dig, if it won't work i'll post it. Thanks for fast reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: SVG and gradient fillings, while PNG convertion

Post by fmw42 »

do Google search for librsvg

or see http://www.imagemagick.org/download/delegates/
Post Reply