magick input.png -fuzz 10% -transparent white output.png

Category: Media & Conversion

magick input.png -fuzz 10% -transparent white output.png

Make a range of colors transparent

Makes all pixels within 10% of white transparent, producing a see-through PNG. -fuzz widens the color match so anti-aliased edges are included. Great for removing solid backgrounds from logos.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.