| 1 | ZLIB DATA COMPRESSION LIBRARY
|
|---|
| 2 |
|
|---|
| 3 | zlib 1.2.3 is a general purpose data compression library. All the code is
|
|---|
| 4 | thread safe. The data format used by the zlib library is described by RFCs
|
|---|
| 5 | (Request for Comments) 1950 to 1952 in the files
|
|---|
| 6 | http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
|
|---|
| 7 | and rfc1952.txt (gzip format). These documents are also available in other
|
|---|
| 8 | formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
|
|---|
| 9 |
|
|---|
| 10 | All functions of the compression library are documented in the file zlib.h
|
|---|
| 11 | (volunteer to write man pages welcome, contact [email protected]). A usage example
|
|---|
| 12 | of the library is given in the file example.c which also tests that the library
|
|---|
| 13 | is working correctly. Another example is given in the file minigzip.c. The
|
|---|
| 14 | compression library itself is composed of all source files except example.c and
|
|---|
| 15 | minigzip.c.
|
|---|
| 16 |
|
|---|
| 17 | To compile all files and run the test program, follow the instructions given at
|
|---|
| 18 | the top of Makefile. In short "make test; make install" should work for most
|
|---|
| 19 | machines. For Unix: "./configure; make test; make install". For MSDOS, use one
|
|---|
| 20 | of the special makefiles such as Makefile.msc. For VMS, use make_vms.com.
|
|---|
| 21 |
|
|---|
| 22 | Questions about zlib should be sent to <[email protected]>, or to Gilles Vollant
|
|---|
| 23 | <[email protected]> for the Windows DLL version. The zlib home page is
|
|---|
| 24 | http://www.zlib.org or http://www.gzip.org/zlib/ Before reporting a problem,
|
|---|
| 25 | please check this site to verify that you have the latest version of zlib;
|
|---|
| 26 | otherwise get the latest version and check whether the problem still exists or
|
|---|
| 27 | not.
|
|---|
| 28 |
|
|---|
| 29 | PLEASE read the zlib FAQ http://www.gzip.org/zlib/zlib_faq.html before asking
|
|---|
| 30 | for help.
|
|---|
| 31 |
|
|---|
| 32 | Mark Nelson <[email protected]> wrote an article about zlib for the Jan. 1997
|
|---|
| 33 | issue of Dr. Dobb's Journal; a copy of the article is available in
|
|---|
| 34 | http://dogma.net/markn/articles/zlibtool/zlibtool.htm
|
|---|
| 35 |
|
|---|
| 36 | The changes made in version 1.2.3 are documented in the file ChangeLog.
|
|---|
| 37 |
|
|---|
| 38 | Unsupported third party contributions are provided in directory "contrib".
|
|---|
| 39 |
|
|---|
| 40 | A Java implementation of zlib is available in the Java Development Kit
|
|---|
| 41 | http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package-summary.html
|
|---|
| 42 | See the zlib home page http://www.zlib.org for details.
|
|---|
| 43 |
|
|---|
| 44 | A Perl interface to zlib written by Paul Marquess <[email protected]> is in the
|
|---|
| 45 | CPAN (Comprehensive Perl Archive Network) sites
|
|---|
| 46 | http://www.cpan.org/modules/by-module/Compress/
|
|---|
| 47 |
|
|---|
| 48 | A Python interface to zlib written by A.M. Kuchling <[email protected]> is
|
|---|
| 49 | available in Python 1.5 and later versions, see
|
|---|
|
|---|