11-23-2022, 08:19 AM
(11-22-2022, 10:57 PM)Drachenbauer Wrote: Hello
If i export an indexed (palette generated from graphic-colors) graphic with transperencies as png, there appear weird things at reimport:
After closing and reimporting there is always a random colored extra cell in the index-palette of the graphic.
And often all pure black (all rgb channels 0) pixels are turned into transparency.
I decided to report it here:
gimp bug-report
But this needs an account and i cannor receive the gonfirmation mail
Can someone report it for me there, please?
Probably not a bug. The color-indexed mode of Gimp is designed after the GIF standard, even if you export to PNG. So
- Pixels are either opaque or transparent, there is no partial alpha while color-indexed PNG supports it a
- There is an additional color in the palette that is flagged as the "transparent" color and all pixels that are encoded with the index of that color are assumed to be transparent. AFAIK this is inserted as the first color in the color map, with all RGB channels to 0, so it would be black if opaque.
Now, the question: PNG has been around for quite a while, but color-indexed PNG where exceedingly rare in the wild, and then over the last couple of weeks I have see plenty of question about them.... what started this? Is there a new game in town that uses this format for textures or else?