From GPWiki
Jump to: navigation, search

zlib is a general purpose compression library. It provides in-memory compression and decompression functions, including integrity checks of the uncompressed data. This library allows compressing and decompressing from its own zlib format and from gzip format.


  • Compression in a single step if the buffers are large enough
  • Compression/decompression of data in the system memory using zlib format
  • Compression/decompression of files using gzip format
  • Support of Adler32 and CRC32 check functions


Virtually any computer hardware and operating system.

Binaries are available for:

  • Linux
  • HP-UX
  • SGI
  • Solaris
  • Digital Unix
  • SCO Open Server
  • BeOS
  • Mac OS X
  • Mac OS
  • OS/2
  • Palm Pilot
  • Newton OS
  • Windows
  • RIM BlackBerry

Tutorials and source

zlib usage example

Related Weblinks

zlib website