Closed bcampbell closed 8 years ago
handled in c0e964dec6feec92ffbd7ab475793a86488b5f7e. IL_PNG_ALPHA_INDEX is now deprecated in favour of properly using the transparency info in the palette. If the palette has any non-opaque colours, a tRNS chunk will be added to the output png file.
IL_PNG_ALPHA_INDEX is supposed to let the user specify a single colour index which should be treated as transparent, but the implementation is wrong. It's not too hard to fix, but I think the "proper" solution is to just support palettes with alpha values, as per commit c0e964de.
I propose IL_PNG_ALPHA_INDEX should be removed, or at least deprecated.