diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:23:01 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:23:01 -0700 |
| commit | b97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d (patch) | |
| tree | 2a9609068ca980db627bceb3f5a48638eaad1c13 /README | |
| parent | f81ba93d4a7e43fccf4730e5e7404ee765a76e3e (diff) | |
| download | zlib-1.2.0.7.tar.gz zlib-1.2.0.7.tar.bz2 zlib-1.2.0.7.zip | |
zlib 1.2.0.7v1.2.0.7
Diffstat (limited to 'README')
| -rw-r--r-- | README | 33 |
1 files changed, 13 insertions, 20 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | ZLIB DATA COMPRESSION LIBRARY | 1 | ZLIB DATA COMPRESSION LIBRARY |
| 2 | 2 | ||
| 3 | zlib 1.2.0.6 is a general purpose data compression library. All the code is | 3 | zlib 1.2.0.7 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 | 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 | 5 | (Request for Comments) 1950 to 1952 in the files |
| 6 | http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) | 6 | http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) |
| @@ -8,7 +8,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 | 8 | formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html |
| 9 | 9 | ||
| 10 | All functions of the compression library are documented in the file zlib.h | 10 | All functions of the compression library are documented in the file zlib.h |
| 11 | (volunteer to write man pages welcome, contact jloup@gzip.org). A usage example | 11 | (volunteer to write man pages welcome, contact zlib@gzip.org). A usage example |
| 12 | of the library is given in the file example.c which also tests that the library | 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 | 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 | 14 | compression library itself is composed of all source files except example.c and |
| @@ -34,12 +34,12 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997 | |||
| 34 | issue of Dr. Dobb's Journal; a copy of the article is available in | 34 | issue of Dr. Dobb's Journal; a copy of the article is available in |
| 35 | http://dogma.net/markn/articles/zlibtool/zlibtool.htm | 35 | http://dogma.net/markn/articles/zlibtool/zlibtool.htm |
| 36 | 36 | ||
| 37 | The changes made in version 1.2.0.6 are documented in the file ChangeLog. | 37 | The changes made in version 1.2.0.7 are documented in the file ChangeLog. |
| 38 | 38 | ||
| 39 | Unsupported third party contributions are provided in directory "contrib". | 39 | Unsupported third party contributions are provided in directory "contrib". |
| 40 | 40 | ||
| 41 | A Java implementation of zlib is available in the Java Development Kit | 41 | A Java implementation of zlib is available in the Java Development Kit |
| 42 | http://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html | 42 | http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package-summary.html |
| 43 | See the zlib home page http://www.zlib.org for details. | 43 | See the zlib home page http://www.zlib.org for details. |
| 44 | 44 | ||
| 45 | A Perl interface to zlib written by Paul Marquess <pmqs@cpan.org> is in the | 45 | A Perl interface to zlib written by Paul Marquess <pmqs@cpan.org> is in the |
| @@ -51,26 +51,16 @@ available in Python 1.5 and later versions, see | |||
| 51 | http://www.python.org/doc/lib/module-zlib.html | 51 | http://www.python.org/doc/lib/module-zlib.html |
| 52 | 52 | ||
| 53 | A zlib binding for TCL written by Andreas Kupries <a.kupries@westend.com> is | 53 | A zlib binding for TCL written by Andreas Kupries <a.kupries@westend.com> is |
| 54 | availlable at http://www.westend.com/~kupries/doc/trf/man/man.html | 54 | availlable at http://www.oche.de/~akupries/soft/trf/trf_zip.html |
| 55 | 55 | ||
| 56 | An experimental package to read and write files in .zip format, written on top | 56 | An experimental package to read and write files in .zip format, written on top |
| 57 | of zlib by Gilles Vollant <info@winimage.com>, is available at | 57 | of zlib by Gilles Vollant <info@winimage.com>, is available in the |
| 58 | http://www.winimage.com/zLibDll/unzip.html and also in the contrib/minizip | 58 | contrib/minizip directory of zlib. |
| 59 | directory of zlib. | ||
| 60 | 59 | ||
| 61 | 60 | ||
| 62 | Notes for some targets: | 61 | Notes for some targets: |
| 63 | 62 | ||
| 64 | - To build a Windows DLL version, include in a DLL project zlib.def, zlib.rc | 63 | - For Windows DLL versions, please see win32/DLL_FAQ.txt |
| 65 | and all .c files except example.c and minigzip.c; compile with -DZLIB_DLL The | ||
| 66 | zlib DLL support was initially done by Alessandro Iacopetti and is now | ||
| 67 | maintained by Gilles Vollant <info@winimage.com>. Check the zlib DLL home | ||
| 68 | page at http://www.winimage.com/zLibDll | ||
| 69 | |||
| 70 | From Visual Basic, you can call the DLL functions which do not take a | ||
| 71 | structure as argument: compress, uncompress and all gz* functions. See | ||
| 72 | contrib/visual-basic.txt for more information, or get | ||
| 73 | http://www.tcfb.com/dowseware/cmp-z-it.zip | ||
| 74 | 64 | ||
| 75 | - For 64-bit Irix, deflate.c must be compiled without any optimization. With | 65 | - For 64-bit Irix, deflate.c must be compiled without any optimization. With |
| 76 | -O, one libpng test fails. The test works in 32 bit mode (with the -n32 | 66 | -O, one libpng test fails. The test works in 32 bit mode (with the -n32 |
| @@ -90,8 +80,11 @@ Notes for some targets: | |||
| 90 | - For Turbo C the small model is supported only with reduced performance to | 80 | - For Turbo C the small model is supported only with reduced performance to |
| 91 | avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 | 81 | avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 |
| 92 | 82 | ||
| 93 | - For PalmOs, see http://www.cs.uit.no/~perm/PASTA/pilot/software.html Per | 83 | - For PalmOs, see http://palmzlib.sourceforge.net/ |
| 94 | Harald Myrvang <perm@stud.cs.uit.no> | 84 | |
| 85 | - When building a shared, i.e. dynamic library on Mac OS X, the library must be | ||
| 86 | installed before testing (do "make install" before "make test"), since the | ||
| 87 | library location is specified in the library. | ||
| 95 | 88 | ||
| 96 | 89 | ||
| 97 | Acknowledgments: | 90 | Acknowledgments: |
