Converting SVG images to PNG with transparent background

Andrew Zabolotny <[email protected]> Thu, 11 Mar 2010 16:00:31 +0300
Newsgroups gmane.comp.video.graphicsmagick.tools
Organization SCPS SPECTR
Message-ID <[email protected]>
--===============3711190803286968549==
Content-Type: multipart/signed; boundary="Sig_/0u2d_liG2AUhmQ4pskUC9/e";
	protocol="application/pgp-signature"; micalg=PGP-SHA1

--Sig_/0u2d_liG2AUhmQ4pskUC9/e
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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_/0u2d_liG2AUhmQ4pskUC9/e
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iEYEARECAAYFAkuY6YMACgkQobRv2VNXxcs+PgCfQwqN6ownWLVwypoXYe/59clF
rf0AniqKUyKzTjPQyHjvLvbouQWvY6s3
=jo3U
-----END PGP SIGNATURE-----

--Sig_/0u2d_liG2AUhmQ4pskUC9/e--


--===============3711190803286968549==
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
--===============3711190803286968549==
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

--===============3711190803286968549==--