Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to re-color some parts of a image ....
#11
Many thanks dear Rich2005  Smile


....i am so glad to read your answer:  it opens up new insights into GIMP




Quote:In Gimp and the gradients dock.
Top of the dock is a temporary gradient called Custom.
Choose a gradient and draw it on the canvas.  It shows end stops / stops / mid points.
Hover the mouse pointer over any of the points, click and adjust.  The Custom gradient is now active.
Colours are changed for each stop / mid point, also some properties for mid-point
Click on the gradient to add a stop.



i have not known all these things.  

Rich: your explanations and examples are pure gold – clear, inspiring, and right on point. ?

This is outstanding and helping alot!? The way you break down the steps in creating Color gradients  -makes it much easier for someone like me (not deeply trained in GIMP)

Thank you so much - for everything you did   - this is so encouraging.  Smile

Keep up your great work - it rocks

Greetings

yours Saint_m Smile
Reply
#12
Wow, this is an incredibly detailed and helpful thread. A huge thank you to everyone who provided such clear, step-by-step instructions.

The screenshots and visuals make the process so much easier to understand, especially for those of us who are still learning to use GIMP. Using layers and curves seems like a powerful way to get precise results. This is a great resource for anyone looking to re-color parts of an image without affecting the whole picture!
Reply
#13
good evening dear Dr_ava_shamban  Smile good day dear richt2005  Smile



first of all - youre wellcome - a great wellcome to the forum 

(08-12-2025, 03:50 PM)Dr_ava_shamban Wrote: Wow, this is an incredibly detailed and helpful thread. A huge thank you to everyone who provided such clear, step-by-step instructions.

The screenshots and visuals make the process so much easier to understand, especially for those of us who are still learning to use GIMP. Using layers and curves seems like a powerful way to get precise results. This is a great resource for anyone looking to re-color parts of an image without affecting the whole picture!


...hope youre all right and everything goes well at your site: 


i only can second your statement: Rich2005 and his contributions to this thread are just overwhelming. I am very glad to have him here - he is so supportive and incredible clear in his explanations - just awesome:  Smile

today - i think i need to extend the thread a bit - ( and hope that there is nothing redundand and said serveral times before) 


...we talked about the recoloring of some parts in the foreground - (the dots) and i guess that the work of "recoloring" other parts should be pretty similar. Now,  to be more concrete : what about the background - what if we want to re-colorize the so called background - i guess that we have similar methods, techniques and options - don  t we?!

so lets write it down the topic of the day: "how to recolor an certain thing on with some of the above mentionend techniques, options and methods?"
 - or - could i just use the allready written down processes, methods and options?

That said: to write down things is a way of learning for me. This method is helpful for me - in fact: only in the act of writing for me thoughts take shape, connections become apparent, and previously unimagined insights emerge. This is how knowledge is generated through writing - at least here for me - (and according the famous writer Heinrich Kleist).

to sume it up: hmm i guess that we have multiple Options here to do that: we could make use of (some) various tools and techniques, including the so called "Colorize" filter, or besides that the so called "Color Exchange" filter!?

Or if that all does not functions - we are able to even make use of the so called "Fuzzy Select" tool in combination with other tools for more targeted changes: Hmmm - these tools allow uns to adjust the hue, saturation, and lightness of specific colors or areas within the image. 


Again sorry if these words and things do not add anything new to the thread. For me learning comes from " talking and writing [and of course doing things like experimenting - so i will
digg deeper later tonight - and try out all these steps that i have written about here]) 
in fact: Well i think thats the best thing to write down some of the according methods and techniques a breakdown of common methods - that way i can learn these things. 

Please have a closer look at the writing - and if some thing does not fit very well here - just inform me - so that i can correct the stuff - add more and better things and keep on with good and learned stuff here:

here some ideas that i think, they should work:

1. Colorize Filter:

a. "Selection:" First, we ought to select the area of the image we want to recolor using tools like the Fuzzy Select (Color Select) tool or the Free Select ( sometimes its called the "funny" Lasso) tool.
b. "Colorize:"  now we need to have to go to Colors > Colorize: This step is important and it opens a dialog box where we can adjust the hue, saturation, and lightness to achieve the desired color we wanna have here.

2. Color Exchange Filter:
afaik we can use the so called "Select Source Color" Option too: Therefore we may use the Color Exchange filter by going the way down in the menu (Filters > Enhance > Color Exchange) to specify the  certain color we want to replace.

....and - very important - afterwards - we could use the so called "Select Target Color"-method: with that we can choose the new color we want to use as a replacement. After all we can use the "Adjust Range" and do a "Fine-tune" of the color range using the "From" and "To" sliders to ensure the filter only affects the intended colors.

by the way: see the image - i want to change the background:


see the image: https://imgur.com/a/HZsKXTA
[Image: the-shot.png]

which method would you apply here !?


i guess that there are some more methods left  - which i did not mention..hee.


and sorry once again - i wrote it down since this method is helpful for me: Only in the act of writing  for me thoughts take shape, connections become apparent, and previously unimagined insights emerge. This is how knowledge is generated through writing.


greetings to you.. Heart


look forward to hear from you Smile

yours saint_m



regarding the learning mehtod:  "On the gradual formation of thoughts while speaking"

cf:  https://de.wikipedia.org/wiki/%C3%9Cber_...beim_Reden


Quote:In this letter to Otto August Rühle von Lilienstern, Heinrich von Kleist advises him to solve problems he cannot resolve through meditation by talking to others. It is not important that the other person is familiar with the subject; what matters is that you discuss it yourself. This method is the best way to educate yourself: "The idea comes through speaking." Kleist himself came up with this idea when he was stuck while pondering an algebraic problem, but found a solution while talking to his sister.

And yes:  learning derives  and comes also from doing - and of course doing things like experimenting - so i will digg deeper later tonight - and try out all these steps that i have written about here])  Heart Smile
Reply
#14
... again me  - with some additional thoughts.. Smile


Dr_ava_shamban - glad to have you here -  
Quote:Wow, this is an incredibly detailed and helpful thread. A huge thank you to everyone who provided such clear, step-by-step instructions.
The screenshots and visuals make the process so much easier to understand, especially for those of us who are still learning to use GIMP. Using layers and curves seems like a powerful way to get precise results. This is a great resource for anyone looking to re-color parts of an image without affecting the whole picture!

btw_  i hope that this thread will help others here - with all the great contribtions of Rich2005 i think this will be a nice asset for learning. 
here some additional thoughts..; i think that we have to add probably some more Methods to the Above mentioned ones  

Quote:1. Colorize Filter:
a. "Selection:" First, we ought 
b. "Colorize:"  

2. Color Exchange Filter:

… i guess that theres more - eg. we can go some more ways - we have more options. in the following lines i will describe them quickly: 


4. Bucket Fill Tool:
here we would be able to do something like the following: 
Select Area: first of all we should / could select an certain area - for example with the with the Fuzzy Select tool, So far so good: after this step we would be able to fill it with a new color using the so calles Bucket Fill tool. To do that we should choose a certain new Color. 
Step "Choose Color": here - in this step we can select  a desired color from the Color Picker and fill the selection. 

5. Adding a New Layer (For more control):
note: this is very interesting method - which  i used very very seldom since i am not so familiar with the layer-technique.  but with this method we have interesting options to go:  the so called "New Layer"-method: here we create a new layer above our image layer and set its mode to  a so calles "Overlay" or "Hue"-Paint:


,...regarding my tests yesterday: i did some Trials and experimented Yesterday evening with some examples - i have tried out some of the above mentiones methods and Options.

untill now i can say: What seems to work the best for me... ( or stated a bit differently - what I seem to like the best? )... is using the so called "gimp color selector tool" and then afterwards follow this step with selecting the color i want to change and then change it using the paint tool. 

HOWEVER .. i think i have to continue the trials and do more experiments at the end of the week: and in regard to dive into the different options (mentioned above) we have here. In other words: to understand GIMP and to us layers and curves seems like a powerful way to get precise results - i need to do more experiments and trials - probably with different images - where i apply all those mentioned methods and options. 
That said -  especially since i am a novice and still learning to use GIMP: i guess that the best method to use on one image / color... may not be the best on another.. Conclusio: i think that the best is to learn how, (or lets say what) each selection tool does - and then be prepared to try different ones based upon the image / color your attempting to change at that time.

Using layers and curves seems like a powerful way to get precise results. And i want to try out all the above mentioned methods and options. 
BTW: ..and as Dr_ava_shamban mentioned above: Perhaps others will benefit from this thread too: This hopefully will get  a little resource for anyone looking to re-color parts of an image without affecting the whole picture!


one last word regarding Rich2005s help: Rich: your explanations and examples are pure gold – clear, inspiring, and right on point? This is outstanding and helping alot!? The way you break down the steps in creating Color gradients  -makes it much easier for someone like me (not deeply trained in GIMP) thank you so much - for everything you did   - this is so encouraging and supportive.  

You allready have seen (in the other threads too). I have been lurking here - before i started to write. 

Rich you give us great examples and illustrations - and besides this also; mini-lessons visible here in this thread and also in other threads; such mini-lessions, which are;
- starting points for us to make the next steps... and you...
- describe concepts in multiple ways...;(see above with the different approaches;
- Incorporate practical steps and also aids with illustrations of the various Options methods and pathways to solve Problems in GIMP. 
- encourage (all the novices here) to go ahead with little steps; 


thank you so much!!! Smile
 
greetings
 Saint_M  Wink



like Dr_ava_shamban said:  hopefully this thread - with all that screenshots and visuals make the process so much easier to understand, especially for those of us who are still learning to use GIMP. 
i share this ideas, hopes and believes - thank you Dr Ava:   its true - using layers and curves seems like a really powerful way to get awesome and precise results. 
Hopefully this may help others too - novices like me - and be a kind of a tiny resource for anyone looking to re-color parts of an image without affecting the whole picture!  Heart Smile
Reply
#15
Just some observations Wink

There are usually several ways to accomplish a task using Gimp. It usually depend on the image. Some  methods are better than others, but with use you will develop a favourite way.   Always experiment, often you find a better way.

More suggestions, for a single color background, changing the color and removing is virtually the same. I normally choose color-to-alpha as a starter but for small images anti-aliasing becomes a problem. (remember that trick of scaling up then back down to re-introduce anti-aliasing).

This using a color-erase mode.  Applied as an overlay (bottom image) or as a separate method bucket fill in color-erase mode. Make sure your image has an alpha channel.  New background underneath.

   

There are newer tools, might not be relevant to your little image but worth exploring. Tools -> GEGL Operation -> Color Warp can replace a color, Choose the From color , Choose the To color , small adjustments with the weight slider.
Not very good example: https://i.imgur.com/p75rzJ0.mp4
Reply
#16
hello dear Rich2005  Smile


Thanks again, Rich — your tips are really useful! I’m trying to fully understand the  (up to) 4-layer example in your visual.

Could you break down the stack in detail? For example:

• Layer 1 (bottom): What is it, and is it just a flat background color/image?
• Layer 2: Is this the result of the color-erase step? How is it set to blend with the background?
• Layer 3: Is this the recolored object itself, or an overlay? Which blend mode is used?
• Layer 4 (top): Is this for touch-ups/masks, or something else?

If possible, could you also mention:
– Which blend modes each layer is set to
– Whether each layer has an alpha channel
– If masks are applied anywhere

I think seeing exactly how the layers interact will make it easier to reproduce the result step-by-step.

it would be awesome if you could reveal  some words bout the layer modes, transparency, and masks — 
which seems to b somewhat the "secret sauce" in GIMP workflows.


look forward to hear from you  Smile


   
Reply
#17
(08-14-2025, 11:58 AM)saint_m Wrote: ....snip...
I’m trying to fully understand the  (up to) 4-layer example in your visual.

Layer groups are useful to keep parts of an overall image together and sometimes apply effects just to that group.

Gimp can use drag-and-drop to speed editing up, but everything is still in a menu somewhere. Your Layer Dock is essential.

this example: https://i.imgur.com/4HoleJM.mp4
Starting with your image open
Add a Layer Group
Add a new layer and that goes straight into the Layer Group
To put you image into the group by click and drag. Make sure it is under that new layer.
Color select the background color.
With the new layer active, fill the new layer with a click-drag from the FG color swatch into the canvas. (you can use bucket fill ....)
In the layer mode set to color erase.

For a new background, Add a new layer. It is in the layer group.
Drag it outside the layer group. Drop it to the bottom of the stack.
All sorts of ways to fill this, try click-drag from the patters dock.


Quote:it would be awesome if you could reveal  some words bout the layer modes, transparency, and masks — 
which seems to b somewhat the "secret sauce" in GIMP workflows.

Your friend is the Gimp manual. (sometimes) otherwise a search usually gets a result.

layer groups: https://docs.gimp.org/3.0/en/gimp-layer-groups.html
layer masks: https://docs.gimp.org/3.0/en_GB/gimp-lay...k-add.html
Reply


Forum Jump: