I have an image in .jpg format with white background color. I want to remove the white background color to transparent in Imagemagick.
.jpg format
white background color
Imagemagick
This is my solution without magicwand (replace magick by convert for im < 7.0):
magick
convert
magick img.png -fuzz 20% -fill none -draw "alpha 1x1 floodfill" result.png