NetBSD/external/zlib/pigz/dist/zopfli
tls 3e407a68a6 pigz 2.3.1 2014-06-15 17:37:20 +00:00
..
CONTRIBUTORS
COPYING
README
blocksplitter.c
blocksplitter.h
cache.c
cache.h
deflate.c
deflate.h
gzip_container.c
gzip_container.h
hash.c
hash.h
katajainen.c
katajainen.h
lz77.c
lz77.h
makefile
squeeze.c
squeeze.h
tree.c
tree.h
util.c
util.h
zlib_container.c
zlib_container.h
zopfli.h
zopfli_bin.c
zopfli_lib.c

README

Zopfli Compression Algorithm is a compression library programmed in C to perform
very good, but slow, deflate or zlib compression.

zopfli.c is separate from the library and contains an example program to create
very well compressed gzip files.

The basic functions to compress data are ZopfliDeflate in deflate.h,
ZopfliZlibCompress in zlib_container.h and ZopfliGzipCompress in
gzip_container.h. Use the ZopfliOptions object to set parameters that affect the
speed and compression. Use the ZopfliInitOptions function to place the default
values in the ZopfliOptions first.

Deflate creates a valid deflate stream in memory, see:
http://www.ietf.org/rfc/rfc1951.txt
ZlibCompress creates a valid zlib stream in memory, see:
http://www.ietf.org/rfc/rfc1950.txt
GzipCompress creates a valid gzip stream in memory, see:
http://www.ietf.org/rfc/rfc1952.txt

This library can only compress, not decompress. Existing zlib or deflate
libraries can decompress the data.

Zopfli Compression Algorithm was created by Lode Vandevenne and Jyrki
Alakuijala, based on an algorithm by Jyrki Alakuijala.