1
.TH ZLIB 3 "3 October 2004"
3
zlib \- compression/decompression library
11
library is a general purpose data compression library.
12
The code is thread safe.
13
It provides in-memory compression and decompression functions,
14
including integrity checks of the uncompressed data.
15
This version of the library supports only one compression method (deflation)
16
but other algorithms will be added later
17
and will have the same stream interface.
19
Compression can be done in a single step if the buffers are large enough
20
(for example if an input file is mmap'ed),
21
or can be done by repeated calls of the compression function.
23
the application must provide more input and/or consume the output
24
(providing more output space) before each call.
26
The library also supports reading and writing files in
29
with an interface similar to that of stdio.
31
The library does not install any signal handler.
32
The decoder checks the consistency of the compressed data,
33
so the library should never crash even in case of corrupted input.
35
All functions of the compression library are documented in the file
37
The distribution source includes examples of use of the library
43
Changes to this version are documented in the file
45
that accompanies the source,
46
and are concerned primarily with bug fixes and portability enhancements.
48
A Java implementation of
50
is available in the Java Development Kit 1.1:
52
http://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html
56
written by Paul Marquess (pmqs@cpan.org),
57
is available at CPAN (Comprehensive Perl Archive Network) sites,
60
http://www.cpan.org/modules/by-module/Compress/
64
written by A.M. Kuchling (amk@magnet.com),
65
is available in Python 1.5 and later versions:
67
http://www.python.org/doc/lib/module-zlib.html
73
written by Andreas Kupries (a.kupries@westend.com),
76
http://www.westend.com/~kupries/doc/trf/man/man.html
78
An experimental package to read and write files in .zip format,
81
by Gilles Vollant (info@winimage.com),
84
http://www.winimage.com/zLibDll/unzip.html
93
web site can be found at either of these locations:
97
http://www.gzip.org/zlib/
99
The data format used by the zlib library is described by RFC
100
(Request for Comments) 1950 to 1952 in the files:
102
http://www.ietf.org/rfc/rfc1950.txt (concerning zlib format)
104
http://www.ietf.org/rfc/rfc1951.txt (concerning deflate format)
106
http://www.ietf.org/rfc/rfc1952.txt (concerning gzip format)
108
These documents are also available in other formats from:
110
ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
112
Mark Nelson (markn@ieee.org) wrote an article about
114
for the Jan. 1997 issue of Dr. Dobb's Journal;
115
a copy of the article is available at:
117
http://dogma.net/markn/articles/zlibtool/zlibtool.htm
118
.SH "REPORTING PROBLEMS"
119
Before reporting a problem,
122
web site to verify that you have the latest version of
125
obtain the latest version and see if the problem still exists.
130
http://www.gzip.org/zlib/zlib_faq.html
132
before asking for help.
133
Send questions and/or comments to zlib@gzip.org,
134
or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
137
Copyright (C) 1995-2004 Jean-loup Gailly (jloup@gzip.org)
138
and Mark Adler (madler@alumni.caltech.edu).
140
This software is provided "as-is,"
141
without any express or implied warranty.
142
In no event will the authors be held liable for any damages
143
arising from the use of this software.
144
See the distribution directory with respect to requirements
145
governing redistribution.
146
The deflate format used by
148
was defined by Phil Katz.
151
specifications were written by L. Peter Deutsch.
152
Thanks to all the people who reported problems and suggested various
155
who are too numerous to cite here.
157
UNIX manual page by R. P. C. Rodgers,
158
U.S. National Library of Medicine (rodgers@nlm.nih.gov).