3

I have an PNG image like this with a transparent background:

Sample Image

How can I change the image color to white, and keep the transparent background in GIMP?

The desired result is a white silhouette on a transparent background.

3
  • @Scott I zoomed in the picture and using bucket fill tool, I put white color manually for each component. But this is becoming tedious for every images. Is there a better way than this ?
    – Sibi
    Oct 25, 2013 at 18:56
  • 2
    To "completely modify the existing colors to white", you slect all, and hit delete. Can you clarify what you really want? Do you want to convert the image to greyscale (also known as "black & white")? Do you want to make the transparent area(s) not transparent?
    – horatio
    Oct 25, 2013 at 19:07
  • @horatio, I want the non-transparent areas to be converted to white.
    – Sibi
    Oct 25, 2013 at 19:10

3 Answers 3

4

There are several quick ways to reduce an image to transparent white tones. From the Colors menu select one of these

  • Threshold...: slide black (left side) to 0.
  • Colorize...: slide Lightness to 100.
  • Curves...: slide black (left) to the top (white).
  • Bucket Fill White: Fill mode Lighten Only or Addition.

Any of these procedures will lead to the following transparent white image:

enter image description here

Note that due to the transparency a colored background will shine through your image.

4

Other ways to do this:

  • Open the Channels dialog and de-select the alpha channel. Then use Bucket Fill in "Fill whole selection" mode.

or:

  • Use Layer → Mask → Add Layer Mask... and select "Transfer layer's alpha channel". Then use Bucket Fill as above on the content of the layer (not on the mask).
3

So you need to select the layer contents to change it's color:

Right-click on the layer and select Alpha to selection

Or go to: Layers > Transperency > Alpha to Selection

Then fill with white using the Bucket Fill.

Reference:

Alpha to Selection
Bucket Fill

4
  • This converts transparent area to White. I want the inverse.
    – Sibi
    Oct 25, 2013 at 19:25
  • So you want the image (screwdriver) to be white?
    – ckpepper02
    Oct 25, 2013 at 19:27
  • Yes, I want the screwdriver to be white.
    – Sibi
    Oct 25, 2013 at 19:27
  • Updated my answer accordingly
    – ckpepper02
    Oct 25, 2013 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.