RSS/Atom feed Twitter
Site is read-only, email is disabled

Color Exchange Issue

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Color Exchange Issue sumtuck 11 Dec 20:17
  Color Exchange Issue scl 11 Dec 20:51
   Color Exchange Issue Ofnuts 11 Dec 21:27
2013-12-11 20:17:19 UTC (over 11 years ago)
postings
1

Color Exchange Issue

All - I am using the Color Exchange feature in Gimp 2. I am trying to change a red background to black. The Color Exchange feature allows me to do that, however, it comes out with only part of the color changed and it all very blotchy. Does anyone know what I am doing wrong?

Here is a screenshot of what happens after I select the red square and do a Color Exchange from red to black.

scl
2013-12-11 20:51:43 UTC (over 11 years ago)

Color Exchange Issue

Hi,

the Color Exchange tool doesn't work well for me, too. But there's an easier way:
1. Use the Select by Color tool to select the red areas. If not everything is selected at the first click, increase the Threshold value in the dialog.
2. Fill the selected area with plain black either with the Bucket Fill tool or by dragging it from the Foreground/Background color swatch in the toolbox. (If your foreground or background color is not black, then press 'd' first).

Kind regards,

Sven

Ofnuts
2013-12-11 21:27:41 UTC (over 11 years ago)

Color Exchange Issue

On 12/11/2013 09:51 PM, scl wrote:

Hi,

the Color Exchange tool doesn't work well for me, too. But there's an easier way:
1. Use the Select by Color tool to select the red areas. If not everything is selected at the first click, increase the Threshold value in the dialog.
2. Fill the selected area with plain black either with the Bucket Fill tool or by dragging it from the Foreground/Background color swatch in the toolbox. (If your foreground or background color is not black, then press 'd' first).

Select by color (and its brother the fuzzy select tool) don't work for this because they always fully select the pixels or completely ignore them. And the text is surrounded by anti-aliasing pixels that are a blend of the two colors and should be only partly repainted, Otherwise you obtain a faint red rim (anti-aliasing pixels not selected and not repainted) or a jagged text ((anti-aliasing pixels selected and completely obliterated with the new color).

The right way to do it is to make the background transparent with either color-2-alpha or painting in "color erase" mode (this will make the anti-aliasing pixels partially transparent as needed), then give the new color to the background either by adding a layer filled with the background color below the current layer, or by painting the current layer in "behind" mode.

This said this image had a formed life as a badly compressed JPEG, so it's not really worth editing.You'll find much better versions of that image using Google images.