Menu

GR32 PNG library / News: Recent posts

Native zlib implementation?

Hi Folks,

This PNG library is called "native" although it contained a reference to the zlib library for handling the deflate compression and inflate decompression algorithms. The zlib used in this library is the one shipped with Delphi (or FPC) which is usually precompiled and thus not very "native".

Now, for about a week I evaluated the pro and cons of using this library or writing my own library. Although, writing an own library isn't that complicated (I already managed to implement the RFC1950 and parts of the RFC1951, explaining the algorithms), things become very difficult if one wants to compress data in a sophisticated way. There are several
strategies how to compress the data using the tools given by the specification of the deflate algorithm, but there is no universal one. A
lot of books have been written about these topics and the content of
these books would require a long study to extract and implement what is necessary for a good deflate compression.... read more

Posted by Christian-W. Budde 2010-10-13
MongoDB Logo MongoDB