Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
3  
what have you tried? –  Scott Oct 25 '13 at 18:54
    
@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 '13 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 '13 at 19:07
    
@horatio, I want the non-transparent areas to be converted to white. –  Sibi Oct 25 '13 at 19:10
add comment

3 Answers 3

up vote 4 down vote accepted

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.

share|improve this answer
add comment

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

share|improve this answer
    
This converts transparent area to White. I want the inverse. –  Sibi Oct 25 '13 at 19:25
    
So you want the image (screwdriver) to be white? –  ckpepper02 Oct 25 '13 at 19:27
    
Yes, I want the screwdriver to be white. –  Sibi Oct 25 '13 at 19:27
    
Updated my answer accordingly –  ckpepper02 Oct 25 '13 at 19:37
add comment

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).
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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