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?
Change colors respecting other
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Change colors respecting other
There are many ways to do this. The question is too vague to give a specific answer.Demiurgo wrote:I want to change the color of an image
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.
snibgo's IM pages: im.snibgo.com
Re: Change colors respecting other
How can I exclude that black and white is not affected?
What is the best way?
What is the best way?
Re: Change colors respecting other
Thanks snibgo. I really helped your reply. I did with only modulate option