Change saturation of a particular colour (with -modulate ?)

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
magickuser

Change saturation of a particular colour (with -modulate ?)

Post by magickuser »

I'm working on some colour JPEGs, and I'd like to be able to desaturate the red colour. I know that I can change the overall saturation with the -modulate option in 'convert,' but how can I desaturate only the red?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

You could -seperate the channels and then module just the red image, before -combine them back together :-)
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply