[FIX] PngFixes-nk ( fixes PNG reading and writing )

Avi Bryant avi at beta4.com
Wed Feb 18 19:12:08 UTC 2004


On Feb 18, 2004, at 8:10 AM, Ned Konz wrote:

> On Thursday 12 February 2004 2:03 pm, Andreas Raab wrote:
>> This is now v3 which fixes a bad, bad CRC issue, adds CRC validation 
>> and
>> hopefully fixes the byte-sex problems.
>
> Some fixes for the PNG reading and writing enhancements from Andreas:
>
> * don't crash Squeak when performing tests (fixed in Zlib writer).
>
> * generate Adler32 checksum in compressed image chunks so other 
> programs can
> read Squeak's PNG files.
>
> * verify Adler32 checksum in compressed image chunks to detect 
> corruption.
>
> * modify test suite so that if you have the PngSuite.zip installed we 
> also
> check for detection of corrupted files.
>
> Passes all the tests, including the PngSuite.zip ones.

Great.  We're almost there... on the mac, the 1 through 8 bit files 
look fine but the 16 and 32 only show the red channel in Preview.app or 
Safari.




More information about the Squeak-dev mailing list