上 传 者
说明： 著名的zlib算法 bmp图像一般可以压缩50倍
(Bmp image known generally zlib compression algorithm 50 times)
zlib-1.2.3\adler32.c (4559, 2004-12-22)
zlib-1.2.3\algorithm.txt (9336, 2003-06-02)
zlib-1.2.3\amiga\Makefile.pup (1845, 2003-07-31)
zlib-1.2.3\amiga\Makefile.sas (1711, 2005-07-13)
zlib-1.2.3\as400\bndsrc (5020, 2003-11-12)
zlib-1.2.3\as400\compile.clp (6933, 2005-07-18)
zlib-1.2.3\as400\zlib.inc (20846, 2005-07-18)
zlib-1.2.3\ChangeLog (42928, 2005-07-18)
zlib-1.2.3\compress.c (2489, 2003-07-07)
zlib-1.2.3\configure (13167, 2005-07-12)
zlib-1.2.3\contrib\ada\buffer_demo.adb (3717, 2004-09-06)
zlib-1.2.3\contrib\ada\mtest.adb (4467, 2004-07-23)
zlib-1.2.3\contrib\ada\read.adb (4248, 2004-05-31)
zlib-1.2.3\contrib\ada\test.adb (13180, 2004-05-31)
zlib-1.2.3\contrib\ada\zlib-streams.adb (5996, 2004-10-04)
zlib-1.2.3\contrib\ada\zlib-streams.ads (4330, 2004-10-04)
zlib-1.2.3\contrib\ada\zlib-thin.adb (3329, 2003-12-15)
zlib-1.2.3\contrib\ada\zlib-thin.ads (15819, 2004-07-23)
zlib-1.2.3\contrib\ada\zlib.adb (20400, 2004-09-06)
zlib-1.2.3\contrib\ada\zlib.ads (13594, 2004-09-06)
zlib-1.2.3\contrib\ada\zlib.gpr (511, 2004-10-04)
zlib-1.2.3\contrib\asm586\match.S (10817, 2005-07-13)
zlib-1.2.3\contrib\asm686\match.S (9238, 2005-07-13)
zlib-1.2.3\contrib\blast\blast.c (17425, 2003-02-17)
zlib-1.2.3\contrib\blast\blast.h (3237, 2003-02-17)
zlib-1.2.3\contrib\blast\Makefile (127, 2003-03-03)
zlib-1.2.3\contrib\blast\test.pk (8, 2003-02-13)
zlib-1.2.3\contrib\blast\test.txt (13, 2003-02-13)
zlib-1.2.3\contrib\delphi\ZLib.pas (16412, 2005-07-18)
zlib-1.2.3\contrib\delphi\ZLibConst.pas (186, 2003-07-28)
zlib-1.2.3\contrib\delphi\zlibd32.mak (2133, 2003-07-28)
zlib-1.2.3\contrib\dotzlib\DotZLib\AssemblyInfo.cs (2511, 2004-09-15)
zlib-1.2.3\contrib\dotzlib\DotZLib\ChecksumImpl.cs (8051, 2004-09-19)
zlib-1.2.3\contrib\dotzlib\DotZLib\CircularBuffer.cs (2251, 2004-03-29)
ZLIB DATA COMPRESSION LIBRARY
zlib 1.2.3 is a general purpose data compression library. All the code is
thread safe. The data format used by the zlib library is described by RFCs
(Request for Comments) 1950 to 1952 in the files
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
and rfc1952.txt (gzip format). These documents are also available in other
formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
All functions of the compression library are documented in the file zlib.h
(volunteer to write man pages welcome, contact firstname.lastname@example.org). A usage example
of the library is given in the file example.c which also tests that the library
is working correctly. Another example is given in the file minigzip.c. The
compression library itself is composed of all source files except example.c and
To compile all files and run the test program, follow the instructions given at
the top of Makefile. In short "make test; make install" should work for most
machines. For Unix: "./configure; make test; make install". For MSDOS, use one
of the special makefiles such as Makefile.msc. For VMS, use make_vms.com.
Questions about zlib should be sent to , or to Gilles Vollant
for the Windows DLL version. The zlib home page is
http://www.zlib.org or http://www.gzip.org/zlib/ Before reporting a problem,
please check this site to verify that you have the latest version of zlib;
otherwise get the latest version and check whether the problem still exists or
PLEASE read the zlib FAQ http://www.gzip.org/zlib/zlib_faq.html before asking
Mark Nelson wrote an article about zlib for the Jan. 1997
issue of Dr. Dobb's Journal; a copy of the article is available in
The changes made in version 1.2.3 are documented in the file ChangeLog.
Unsupported third party contributions are provided in directory "contrib".
A Java implementation of zlib is available in the Java Development Kit
See the zlib home page http://www.zlib.org for details.
A Perl interface to zlib written by Paul Marquess is in the
CPAN (Comprehensive Perl Archive Network) sites
A Python interface to zlib written by A.M. Kuchling is
available in Python 1.5 and later versions, see
A zlib binding for TCL written by Andreas Kupries is
availlable at http://www.oche.de/~akupries/soft/trf/trf_zip.html
An experimental package to read and write files in .zip format, written on top
of zlib by Gilles Vollant , is available in the
contrib/minizip directory of zlib.
Notes for some targets:
- For Windows DLL versions, please see win32/DLL_FAQ.txt
- For ***-bit Irix, deflate.c must be compiled without any optimization. With
-O, one libpng test fails. The test works in 32 bit mode (with the -n32
compiler flag). The compiler bug has been reported to SGI.
- zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 it works
when compiled with cc.
- On Digital Unix 4.0D (formely OSF/1) on AlphaServer, the cc option -std1 is
necessary to get gzprintf working correctly. This is done by configure.
- zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works with
other compilers. Use "make test" to check your compiler.
- gzdopen is not supported on RISCOS, BEOS and by some Mac compilers.
- For PalmOs, see http://palmzlib.sourceforge.net/
- When building a shared, i.e. dynamic library on Mac OS X, the library must be
installed before testing (do "make install" before "make test"), since the
library location is specified in the library.
The def ... ...