Re: Able to disable JOGL's PNG decoder?
Posted by
hernan on
URL: https://forum.jogamp.org/Able-to-disable-JOGL-s-PNG-decoder-tp4027701p4027741.html
Sven Gothel wrote
Yes, have to add code to 'explode' it to RGBA.
In case this helps, the logic (included transparency handling, which might come in the TRNS chunk, outside the palette) is implemented in ImageLineHelper.palette2rgb, see
SampleConvPalToTrueColor. The method returns a RGB or RGBA depending on wheter transparency is present, perhaps I should add a flag argument to force RGBA mode...
-- Hernán J. González