# Turn semitransparent PNG image into a white silhouette, preserving transparency

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

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.

• @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
• 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

## 3 Answers

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:

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

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:

• 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

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).