Can't make a png image that has transparent background


I want to make a transparent image, so I made image's background transparent like this.

Gimp Edit

But exported PNG image was not transparent, it was kind of gray.

enter image description here

What am I doing wrong?

5/27/2015 5:14:00 AM

Accepted Answer

To remove an overlay of grey to an alpha channel as is the case of the example we have to remove the alpha channel (Layer > Transparency > Remove Alpha Channel) first.

We then can convert the background gray back to alpha by choosing Layer > Transparency > Color to Alpha.

In the window that opens click on the color bar (defaults to white) to open the color selection tool. We can now either manually select a color or use the Select Eyedropper Tool to select the grey background color:

enter image description here

After conversion your background will be 100% transparent

enter image description here

but alas on putting this on a dark background we can see that some pixels coming from anti-aliasing at the borders of the red font will retain their original grey:

enter image description here

To avoid this we need to take care to work on a 100% transparent background in the first place.

5/27/2015 11:02:00 AM