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

Ned Konz ned at squeakland.org
Wed Feb 18 16:10:35 UTC 2004


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.

-- 
Ned Konz
http://bike-nomad.com/squeak/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PNGFixes-nk.2.cs.gz
Type: application/x-gzip
Size: 3855 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040218/59d31810/PNGFixes-nk.2.cs.bin


More information about the Squeak-dev mailing list