It is currently Tue Jun 09, 2026 12:45 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to make 'Color Exchange' more complete?
PostPosted: Thu Mar 15, 2012 11:36 pm  (#1) 
Offline
GimpChat Member

Joined: Sep 09, 2011
Posts: 21
Greetings,
In this image
Attachment:
RGB-ColorExchange.png
RGB-ColorExchange.png [ 8.11 KiB | Viewed 2383 times ]

I started with a red line, green line, and blue line.
And applied Colors==>Map==>ColorExchange to each line.
It exchanges colors, except for the outer edge.
You can see the outer edge remnant.
How can I get a more complete color exchange, including the edges?
Thanks...Vernon

_________________
"All things in moderation , except for love and forgiveness ."


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: How to make 'Color Exchange' more complete?
PostPosted: Fri Mar 16, 2012 3:28 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
The edge are "anti-aliased pixels". If you paint directly on a background, the edge pixels are made of pixels that are a mix of the subject color and background color (this avoids the jagged look), so Color Exchange doesn't see them as colors meant to be changed.

You should never paint on another color. Create a transparent layer and paint on that. Then, instead of getting an intermediate color, the edge pixels get an intermediate transparency, but are the same color as the rest. So you can change their color at will (and you can also change the background color).

_________________
Image


Top
 Post subject: Re: How to make 'Color Exchange' more complete?
PostPosted: Fri Mar 16, 2012 3:26 pm  (#3) 
Offline
GimpChat Member

Joined: Sep 09, 2011
Posts: 21
ofnuts,
I don't understand what you are saying.

Let's say i have an image called TurquoiseMan.png (your avatar).
(Hmm... for some reason, I can't place image 'in line'.)
And lets say we want to change color hex"51FBF9" to lets say color hex"FF0000".
Pls, how would I do that?
Thanks...vm


Attachments:
TurquoiseMan.png
TurquoiseMan.png [ 5.66 KiB | Viewed 2321 times ]

_________________
"All things in moderation , except for love and forgiveness ."
Top
 Post subject: Re: How to make 'Color Exchange' more complete?
PostPosted: Fri Mar 16, 2012 4:28 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
vmars316 wrote:
ofnuts,
I don't understand what you are saying.

Let's say i have an image called TurquoiseMan.png (your avatar).
(Hmm... for some reason, I can't place image 'in line'.)
And lets say we want to change color hex"51FBF9" to lets say color hex"FF0000".
Pls, how would I do that?
Thanks...vm

If you change only that color, only part of the image will change, because there are many pixels that aren't that color. So, if you want to change all pixels to red, juts paint them over with red (you can bucket-fill) after "locking" the alpha channel (the "lock" checkbox at the top of the layers list). But the result isn't too realistic because there is no longer any variation in the output:
Attachment:
RedWasTurquoiseMan.png
RedWasTurquoiseMan.png [ 1.08 KiB | Viewed 2316 times ]


So you can instead use Colors/Map/Rotate colors, and define an "input" angle that covers all the variations of turquoise, and map it to an equivalent "output" angle in the reds:
Attachment:
RotatedToRedWasTurquoiseMan.png
RotatedToRedWasTurquoiseMan.png [ 3.69 KiB | Viewed 2316 times ]

_________________
Image


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group