convert -modulate
Posted: 2011-04-17T17:20:17-07:00
Hi everyone,
I do try to perform an operation from command line with convert, but I can't get around it, yet. Maybe I overlook the exact keyword in the manual. In that case maybe someone can point it to me...
How do I use the modulate option of the convert to change only one colorspace and not all. For example if I do:
I change red in cyan, yellow in blue, etc. But what if I only want to change only cyan in red, not the other colors? I have try to use
and similar, but it will not work.
I found a way to do it using gimp [1], but I would like to use a command line tool, like convert to do this. Any ideeas?
Thank you.
Ionel
[1] Colors -> Hue-Saturation... -> C -> Hue at 180
I do try to perform an operation from command line with convert, but I can't get around it, yet. Maybe I overlook the exact keyword in the manual. In that case maybe someone can point it to me...
How do I use the modulate option of the convert to change only one colorspace and not all. For example if I do:
Code: Select all
convert image.png -modulate 100,100,200 modulate.png
Code: Select all
-set option:modulate:colorspace cyan
I found a way to do it using gimp [1], but I would like to use a command line tool, like convert to do this. Any ideeas?
Thank you.
Ionel
[1] Colors -> Hue-Saturation... -> C -> Hue at 180