Login  Register

Re: Indexed PNG

Posted by Sven Gothel on Mar 01, 2013; 12:33pm
URL: https://forum.jogamp.org/Indexed-PNG-tp4028430p4028433.html

On 03/01/2013 12:31 PM, ct [via jogamp] wrote:
> I've extended the code of PNGImage.java to support indexed PNG files. I
> needed this to be able to load map tiles from OpenStreetMap.
>
> I've revised the constructor of PNGImage to take the necessary steps to
> resolve the palette data with the helper methods of pngj.
>
> Maybe you are interested in integrating this feature in future version
> of JOGL. A patch is attached.
>

Thank you.

[Note: Patches w/o white space changes are better to read for differences]

I will review your patch and put it into consideration w/ Hernan's solution
  http://forum.jogamp.org/Able-to-disable-JOGL-s-PNG-decoder-tp4027701p4027739.html

~Sven



signature.asc (911 bytes) Download Attachment