1Zopfli Compression Algorithm is a compression library programmed in C to perform
2very good, but slow, deflate or zlib compression.
3
4The basic function to compress data is ZopfliCompress in zopfli.h. Use the
5ZopfliOptions object to set parameters that affect the speed and compression.
6Use the ZopfliInitOptions function to place the default values in the
7ZopfliOptions first.
8
9ZopfliCompress supports deflate, gzip and zlib output format with a parameter.
10To support only one individual format, you can instead use ZopfliDeflate in
11deflate.h, ZopfliZlibCompress in zlib_container.h or ZopfliGzipCompress in
12gzip_container.h.
13
14ZopfliDeflate creates a valid deflate stream in memory, see:
15http://www.ietf.org/rfc/rfc1951.txt
16ZopfliZlibCompress creates a valid zlib stream in memory, see:
17http://www.ietf.org/rfc/rfc1950.txt
18ZopfliGzipCompress creates a valid gzip stream in memory, see:
19http://www.ietf.org/rfc/rfc1952.txt
20
21This library can only compress, not decompress. Existing zlib or deflate
22libraries can decompress the data.
23
24zopfli_bin.c is separate from the library and contains an example program to
25create very well compressed gzip files. Currently the makefile builds this
26program with the library statically linked in.
27
28To build the binary, use "make". To build the library as a shared Linux library,
29use "make libzopfli". The source code of Zopfli is under src/zopfli.
30
31Zopfli Compression Algorithm was created by Lode Vandevenne and Jyrki
32Alakuijala, based on an algorithm by Jyrki Alakuijala.
33