Glad we were able to make you aware of that bug.
We figured it out, libpng is behaving appropriately. GDB misled me and i didn't notice...
It's being set to 8bit: static void DecodeC4(png_structrp png, png_infop info, const...
It's being set to 8bit: static void DecodeC4(png_structrp png, png_infop info, const...
It's being set to 8bit
png_set_PLTE broken
Alright, here's the new patch
Alright, here's the new patch