2011
06.12
06.12
I was trying to convert .svg files to .png. No problems with that, but when doing so I lost the transparency of the originals. Not that that really mattered because I had a white background-color anyway, but I had to find out!
-
First be sure to install imagemagick:
sudo apt-get install imagemagick;
-
And use `convert` to convert:
convert +antialias -background transparent \ media-playback-start.svg media-playback-start.png;
Thanks!
This is the right answer I was looking for – should be top hit in google for “imagemagick svg background transparent”
I just tried this – but ended up with a loss in quality on my png and still had a white background….. Any suggestions?