Converting SVG images to PNG with transparent background

Andrew Zabolotny <[email protected]> Thu, 11 Mar 2010 16:28:41 +0300
Newsgroups gmane.comp.video.graphicsmagick.tools
Organization SCPS SPECTR
Message-ID <[email protected]>
--===============8722658137177360165==
Content-Type: multipart/signed; boundary="Sig_/gGmNlu0ZDS.7dZUa3lcxkGf";
	protocol="application/pgp-signature"; micalg=PGP-SHA1

--Sig_/gGmNlu0ZDS.7dZUa3lcxkGf
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

(Apologies if this is a duplicate; had some issues with subscription)

Hello!

For some time I've been using the following command to convert my SVG
icons to PNG-with-transparency:

convert -background none $x -size 48 in.svg out.png

This resulted in a smooth image with interpolated alpha channel like
in the example below:

http://cobra.ru/zap/about-im.png

(best viewed with programs like GIMP or GQVIEW which display a
checkerboard pattern as background).

Now for some reasons I'm trying to switch to GraphicsMagick. The
command line above worked without problems, however it resulted in
something like a 1-bit alpha channel (pixels are either absolutely
transparent or absolutely opaque), like in the result below:

http://cobra.ru/zap/about-gm.png

Is there something I can do about it?

--=20
Greetings,
   Andrew

--Sig_/gGmNlu0ZDS.7dZUa3lcxkGf
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAkuY8AsACgkQobRv2VNXxcvFxQCdGsXA4XDP9eo061hXgmEzEPwK
YmgAnjgl/56ho7Af8g9iiRYUETRRYUQf
=Kem9
-----END PGP SIGNATURE-----

--Sig_/gGmNlu0ZDS.7dZUa3lcxkGf--


--===============8722658137177360165==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--===============8722658137177360165==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-tools mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-tools

--===============8722658137177360165==--