Page 1 of 1

Change colors respecting other

Posted: 2015-03-26T04:19:58-07:00
by Demiurgo
Hello,

I want to change the color of an image, I had thought of replacing colors but the result is pretty bad. I've been testing with gradient and see that the result is much better. I'm trying to find the right formula. I want to change the picture colors but respecting the black and white.


Could anyone help?

Re: Change colors respecting other

Posted: 2015-03-26T04:38:06-07:00
by snibgo
Demiurgo wrote:I want to change the color of an image
There are many ways to do this. The question is too vague to give a specific answer.

My general technique is in two parts. First, work out what transformation is needed. Perhaps simply "-modulate". Second, decide what pixels need to be transformed. Perhaps a narrow band of hues, and perhaps only those above a certain saturation, or pixels near (in colour) to a selected colour. Make a mask that is white where pixels should be changed.

Then the command is simple: composite the changed over the original, with the mask.

Re: Change colors respecting other

Posted: 2015-03-26T06:59:19-07:00
by Demiurgo
How can I exclude that black and white is not affected?
What is the best way?

Re: Change colors respecting other

Posted: 2015-03-27T04:01:53-07:00
by Demiurgo
Thanks snibgo. I really helped your reply. I did with only modulate option :D