GNOME Bugzilla – Bug 134867
bad display of transparency in quantized pngs
Last modified: 2004-02-19 19:06:56 UTC
Gimp incorrectly displays the transparency in quantized (4bit or 8bit) png files. The transparency is shown only as 100% or 0%, there is no transparency range between - even if the file has many levels of transparency. (png files tested were quantized using pngquant) (it would be nice if gimp could quantize with transparency itself, so then pngquant would not have to be used) -brett
This is an artefact of how the GIMP handles indexed images. Way back when, it was decided that an indexed image would have a 256 colour palette, or 255 colour palette + 1 transparency index, with palette entries being RGB. Since this is all that was and is supported by GIF, and at that stage no-one could imagine that indexed mode would be used for anything other than GIFs, that was not annoying until pngs came along. Really, an indexed image should be a 256 colour palette, with the palette entries being RGBA. The projection code is an artefact from this too. Closing this as a duplicate. Cheers, Dave. *** This bug has been marked as a duplicate of 86627 ***