Colorize areas of image by hue
Posted: 2009-08-20T15:09:26-07:00
Hi. I'm trying to batch modify a few images to change its blue-ish colors to cyan. Or maybe create a script that can re-color it freely. It's to modify a pixmap GTK theme.
To change one of the images the way I want it, I open it up in GIMP and do like so: I pick the wand tool, change its selection mode to hue, and click on a blue area on the image. Then I use the GIMP's colorize tool, and colorize it to hue 188, sat 50, lum -5. The result is that only the blue area is recolored.
It's simple enough to do, but there are LOTS of images to do it to. How would I do it with imagemagick so I can do it in batch?
To change one of the images the way I want it, I open it up in GIMP and do like so: I pick the wand tool, change its selection mode to hue, and click on a blue area on the image. Then I use the GIMP's colorize tool, and colorize it to hue 188, sat 50, lum -5. The result is that only the blue area is recolored.
It's simple enough to do, but there are LOTS of images to do it to. How would I do it with imagemagick so I can do it in batch?