Adding the -transparent white option solves the problem, especially in my case, because the background is not completely removed (unfortunately, there is a slight shadow). Therefore, I use IMHO a clearer solution that completely removes the background using ImageMagic:
convert -channel rgba -background "rgba(0,0,0,0)" in.svg out.png
It sets a fully transparent black color as a background through the RGBA channel.
Yurii Rabeshko Sep 18 '18 at 23:07 on 2018-09-18 23:07
source share