reducing one channel while enhancing others
Posted: 2017-09-01T11:58:01-07:00
I have an image that will be automatically generated repeatedly, that has "too much green" in the image, so I am trying to reduce the level of green... so far I have tried variations of:
using one channel at a time, two, or three channels.. and while the green can be reduced, it ends up "messing with" the other colors as well... so I also tried variations of:
Here is a sample without any edits... I can reduce the green, but my boss says the browns don't show up well enough, and I said well imagemagick can do anything, he said show me.. so here I am 4 hours later asking for help lol ... How can we reduce the green and "bring out" the browns? brown is like red and green combined, so ... i don't know.. i've tried everything I can think of
hakuna matata
Code: Select all
convert in.png -colorspace HSL -colorspace HSL -channel R -evaluate multiply 1.2 -channel B -evaluate multiply 1.1 -channel G -evaluate multiply 1.1 out.png
Code: Select all
convert rgb.png -gamma 1.0,0.4,1.0 out.png
hakuna matata