Help with removing certain colors

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Help with removing certain colors

Post by magick »

Try this command to eliminate a particular color from your image:
  • convert radar.gif -fill none -fuzz 20% -opaque #00e9e7 image.gif
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Help with removing certain colors

Post by anthony »

But it it is the 'dots' you want to get rid of a -median filter on just the alpha channel should do the job.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply