[magick-users] Preserving alpha channel (SVG -> PNG)
Claus Cyrny
claus.cyrny at web.de
Tue Aug 21 07:27:29 PDT 2007
Hi all,
I'm new to this list, and right now I would like to convert an SVG
file (from Inkscape; I saved it as 'plain SVG', though) into a
16-bit/channel PNG, which basically works, but there's no alpha
channel (white background color instead).
I tried 'convert -compress none -depth 16 -fill FFFFFFFFFFFF0000
-gamma 1.0 -sample 3996x3068 [filename].svg [filename].png',
but there's still no alpha channel. (The SVG covers only part of
the Inkscape document; the remaining part should hopefully
be transparent.) The part 'FFFFFFFFFFFF0000' (which I took from
the ImageMagick web site) resulted in an error message, because
the color wasn't recognized by ImageMagick. A '#' in front of the
hex numbers didn't work, either; the same with 'rgba(0,0,0,0)'.
Does anybody know a solution to this?
TIA,
Claus
--
Home Page - http://home.arcor.de/ccyrny/ [in English]
graf-o-matic 2.0 - http://grafomatic01.twoday.net/ [in German]
More information about the Magick-users
mailing list