Reputation: 11
I want to implement PNG data decoder from scratch. However i cannot find detailed step by step IDAT chunk compression/decompression manual. I read ZLIB docs and Data Compression The Complete Reference book. Do you have some reference to as detailed compression method as possible?
Upvotes: 0
Views: 559
Reputation: 112502
The deflate compression format is fully documented in RFC 1951. The zlib wrapper around it is fully documented in RFC 1950. You can also look at puff.c for an implementation of a deflate decoder, with the express purpose of elucidating the format.
Upvotes: 1