Advertisement


Turn semitransparent PNG image into a white silhouette, preserving transparency


Question

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.

2013/10/26
1
2
10/26/2013 7:59:00 PM

Accepted Answer

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.

2013/10/25
4
10/25/2013 8:13:00 PM

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

2013/10/25