Open spectrenoir06 opened 2 years ago
I made a dirty fix for my specific use case https://github.com/spectrenoir06/PNGdec
working on a fix for 8-bit
I added a fix for 8-bit palette images. Please give it a try:
https://github.com/bitbank2/PNGdec/commit/8abf6be9f75c42e6ad1679309812dd48b188c039
The lib read correctly the tRNS block and store the alpha pPalette[768] But doesn't use it in getLineAsRGB565 ( only PNG_PIXEL_TRUECOLOR_ALPHA work )