How to convert SVG image to 32-bit RGBA with ImageMagick?
Background must be transparent.
Simply try this command:
convert in.svg -transparent white out.png
(Assuming the original SVG uses a transparent or white background. Otherwise, if SVG background is red or blue or '#235689': use -transparent red
, -transparent blue
or -transparent '#235689'
....)
If your version of ImageMagick doesn't do it right, check if convert -list configure | grep svg
shows rsvg
output in the DELEGATES
and CONFIGURE
lines.