ImageMagick: remove background color (make transparent background)

convert input.png -transparent white -fuzz 90% output.png

Replace “white” with the color you want to replace, or “rgba(0,0,0,0)” to set it to a custom value. “Fuzz” is the tolerance.

Advertisements