For a presentation I wanted an image to appear in magenta, rather than in cyan. This is how the image originally looks like:
blue.jgp
With the following command I separated the R, G, B color channels and swapped the Red and the Green channel, to produce a picture in which all blue colors appear in red:
$ convert blue.jpg -separate -swap 0,1 -combine red.jpg
And that is how the result looks like:
red.jpg
I got this information from: http://www.imagemagick.org/Usage/color_basics/#combine
No comments:
Post a Comment