Help with strange color threshold posterizing request

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
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Help with strange color threshold posterizing request

Post by fmw42 »

deniszh wrote:Hello!
I'm newbie with ImageMagik, but in my software I need some strange color threshold posterizing. I need to convert all tints of i.e. red color (list of RGB colors) in picture and convert it to white, and convert all other colors to black. It's similar to "color selection tool" in photo editing programs.
How can i do this with Imagemagik?

Thanks a lot for all answers!

Please provide an example of your input and desired output images to clarify exactly what you need to do.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Help with strange color threshold posterizing request

Post by anthony »

Also look at 'Color Fuzz Factor' which does similar selections, but using the blue color.
http://www.imagemagick.org/Usage/color/#fuzz
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply