1

Some PNG images are not imported correctly. Is it something in the settings or is it a bug?

Running GIMP 2.10.2 | Windows 10.

Original png with alpha:

original png - correct alpha

GIMP print screen:

gimp print screen

GIMP Exported:

enter image description here

1

The problem is with the PNG, not GIMP. The PNG file is in Indexed colour mode. In Indexed colour mode in GIMP, there are only two levels of transparency - either fully opaque or fully transparent. Instead change it to RGB mode if you want to utilize multiple levels of transparency. Then export.

On opening the original PNG image in GIMP 2.10.2 (using File > Open) here's a screenshot

enter image description here

Click Image > Mode > RGB. Then export as PNG. Here's the result.

enter image description here

Edit:

As to why this is happening - I suspect the PNG file has been put through one of those online PNG compression websites, which do support multiple levels of transparency in Indexed images. Software like GIMP and Photoshop don't support that in indexed colour mode. I also note that on opening the PNG in Photoshop, it immediately converts the image to RGB colour mode. GIMP doesn't - you need to do it manually.

  • We actually consider this to be a problem in GIMP, just for the records :) – Michael Schumacher Jul 5 '18 at 10:47
  • @MichaelSchumacher See edit to my answer. The "problem" also exists in Photoshop to a degree, although it's less obvious. – Billy Kerr Jul 5 '18 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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