GreenChild wrote:
GIMP Version: 2.8.10
Operating System: Windows
GIMP Experience: Beginner Level
I can't get this tool to work when I want it to. And sometimes it works when I don't want it to.
Example of how it worked when I didn't want it to.
I opened a png file. The file was a very simple one-color graphic. Without selecting any area, the paint bucket tool, changed the color of each shape when I clicked on the shape. This surprised me since I had not selected anything.
So now I open another file. I have not changed anything with my color select.
This file is a jpg file. The file is a simple black and white image. I want to change the white areas to blue. I used the fuzzy select tool and selected a white shape. Then I selected the bucket tool. I selected blue on the change foreground color and clicked OK. (This was the same blue I was using so it showed current and old color both blue). I clicked on my selected white shape and the color changed to black. I clicked un-do and went back to my bucket foreground color select. Current displayed black and old displayed blue. Now I'm thinking what? how? So now, I reselect blue for the current color and click OK. The display then shows that my current and old are both blue. I click on the white shape and again..... It is filled black.
I am using GIMP version 2.8.14
Your image is 'grayscale' so it can only contain black, white, and all the grays in between. If you want to add color you should change it to an RGB image (Image>Mode>RGB).
If you want to change colors
cleanly(*), the proper procedure is to extract the subject from the background, so it its surrounded by transparency, then paint the subject (to replace the backrground color, just insert a new layer filled with that color under it).
- Image>Mode>RGB
- Layer>Transparency>Add alpha channel (so that the layer can be transparent)
- Colors>Color to alpha, and remove the white (default). The checkerboard pattern indicates transparency, it is not part of the image
- Lock the layer's alpha channel (checkboard icon in the "Lock" line at the top of the Layers list)
- Bucket-fill the layer with the new color (or paint by whatever method), the alpha-lock means that the opacity of the pixels isn't changed (pixels along the edges are partially transparent, and it is important that they retain this partial opacity).
- If needed add a new layer for the background and bucket-fill it
Attachment:
justice.png [ 41.75 KiB | Viewed 11631 times ]
(*) well, as cleanly as the image allows, because the JPG compression introduced faint compression artifacts...