zlib is a library used for data compression. Also a crucial component of many software platforms including Linux, Mac OS X, and the iOS
zlib is a library (current version: 1.2.8, released April 28, 2013) that is very widely used for doing data compression. It is open source software written in C, and is unencumbered by patents. It supports three principal compression formats:
- deflate format Raw compressed data
- zlib format data (essentially just raw data with a small header)
- gzip format data (the raw data with a considerably more sophisticated header)
Documentation may be found in RFC-1950 (zlib), RFC-1951 (deflate), and RFC-1952 (gzip).
The zlib library was created by Jean-loup Gailly and Mark Adler.