Switch to full style
Ask all general Gimp related questions here
Post a reply

Transparency not working on a PNG generated by PowerPoint

Fri Apr 23, 2021 10:50 am

GIMP Version: 2.8.14
Operating System: Windows
OS Version: Windows 10 Pro - 20H2
GIMP Experience: Intermediate Level



Hello;

I have a .png file that I used PowerPoint to create (attached) - I just want to turn the white areas around the left and right sides of the "logo" transparent - I've set the alpha channel and the area that I want to make transparent shows the checkerboard pattern indicating that the alpha channel is activated... I save the file as a .png with the save background color option unchecked, yet when I view the file in a browser or even looking at the thumbnail in Windows Explorer the areas that should be transparent are white...

Any help would be appreciated.

Re: Transparency not working on a PNG generated by PowerPoint

Fri Apr 23, 2021 11:09 am

There is nothing wrong with your png file. All to do with the viewer that you use. Some support transparency, some do not.

viewer.jpg
viewer.jpg (225.27 KiB) Viewed 1804 times

Re: Transparency not working on a PNG generated by PowerPoint

Fri Apr 23, 2021 11:23 am

"Save background color" has nothing to do with the image being transparent or not, it just saves the background color data.
In this image "transparent" is your original, and "untitled" is saved with red background color. They are both transparent as you can see.
If I open the one with red background color saved and exported to png, and remove alpha channel the background will turn red.

Transparent-BG-Color.png
Transparent-BG-Color.png (308.41 KiB) Viewed 1804 times


Now fix the edges of the image, because there's some visible white.

Re: Transparency not working on a PNG generated by PowerPoint

Fri Apr 23, 2021 11:34 am

@rich2005 - the Chrome browser support transparency and it is showing the white periphery... and in the past I've been able to make images with transparency that display correctly in Chrome - perhaps this is technically a Chrome issue (not Gimp) but I'd like to understand the difference.

Re: Transparency not working on a PNG generated by PowerPoint

Fri Apr 23, 2021 11:36 am

@Nidhogg - yes there is some sloppiness on the edges - I will clean these up... thanks for taking a look

Re: Transparency not working on a PNG generated by PowerPoint

Sat Apr 24, 2021 12:48 am

The other reason it shows white in here is, transparency will show the colour of the page.
Post a reply