[Ohrrpgce] SVN: teeemcee/11030 Fix 1/2/4-bit PNG crash/misimport by updating LodePNG and reenabling col

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Mar 11 03:00:40 PDT 2019


teeemcee
2019-03-11 03:00:39 -0700 (Mon, 11 Mar 2019)
587
Fix 1/2/4-bit PNG crash/misimport by updating LodePNG and reenabling color conversion

Updated LodePNG to 20190210

As a workaround for a LodePNG bug, I had disabled color conversion, which it
turns out meant that LodePNG returned the pixel data in raw format with multiple
pixels packed into each byte.  At a minimum this would scramble the image, and
Nathan also saw crashes as a result.

That bug got fixed after I reported it, but I hadn't bothered to upgrade LodePNG

Also, nice to see that LodePNG now lets you get metadata like the palette out of
a PNG without decoding everything
---
U   wip/allmodex.bas
U   wip/lib/lodepng.bi
U   wip/lib/lodepng.c
U   wip/lib/lodepng.h


More information about the Ohrrpgce mailing list