Zlib
From Just Solve the File Format Problem
(Difference between revisions)
(→Software) |
(→Software) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
+ | |name=zlib | ||
|formattype=electronic | |formattype=electronic | ||
|subcat=Compression | |subcat=Compression | ||
+ | |released=1995 | ||
}} | }} | ||
− | '''zlib''' is a data | + | {{DISPLAYTITLE:zlib}} |
+ | '''zlib''' format is a variant of the [[DEFLATE]] compressed data format. It adds a lightweight container, a small amount of configurability, and error checking. | ||
− | + | zlib is also the name of a software library that supports the zlib format, and other formats related to DEFLATE. | |
− | + | There are ''many'' formats and protocols that use, or may use, zlib format. A notable example is [[PNG]]. | |
== See also == | == See also == | ||
* [[Adler-32]] | * [[Adler-32]] | ||
+ | * [[DEFLATE]] | ||
== Identification == | == Identification == | ||
Line 16: | Line 20: | ||
If the first two bytes are interpreted as a [[Endianness|big-endian]] integer, it is always a multiple of 31. | If the first two bytes are interpreted as a [[Endianness|big-endian]] integer, it is always a multiple of 31. | ||
+ | |||
+ | == Specifications == | ||
+ | * RFC 1950: ZLIB Compressed Data Format Specification version 3.3 | ||
== Software == | == Software == | ||
− | * [ | + | * [https://zlib.net zlib data compression library] |
− | * [ | + | * [https://github.com/cloudflare/zlib CloudFlare fork of zlib] |
− | * [https:// | + | * [https://github.com/zlib-ng/zlib-ng zlib-ng] |
+ | * Puff - Lightweight decompression software included with [https://zlib.net/ zlib] (contrib/puff) | ||
+ | * [https://github.com/richgel999/miniz miniz] | ||
+ | * [https://github.com/google/zopfli zopfli] - zlib compressor highly optimized for file size | ||
+ | * [http://aluigi.altervista.org/mytoolz.htm#offzip Offzip] | ||
+ | * {{Deark}} | ||
− | + | See also [[DEFLATE#Software]]. | |
− | + | ||
− | == | + | == Links == |
* [[Wikipedia:Zlib|Wikipedia article]] | * [[Wikipedia:Zlib|Wikipedia article]] |
Revision as of 15:18, 25 January 2020
zlib format is a variant of the DEFLATE compressed data format. It adds a lightweight container, a small amount of configurability, and error checking.
zlib is also the name of a software library that supports the zlib format, and other formats related to DEFLATE.
There are many formats and protocols that use, or may use, zlib format. A notable example is PNG.
Contents |
See also
Identification
The first byte of a zlib datastream has eight possible values: 0x08, 0x18, 0x28, ..., 0x78.
If the first two bytes are interpreted as a big-endian integer, it is always a multiple of 31.
Specifications
- RFC 1950: ZLIB Compressed Data Format Specification version 3.3
Software
- zlib data compression library
- CloudFlare fork of zlib
- zlib-ng
- Puff - Lightweight decompression software included with zlib (contrib/puff)
- miniz
- zopfli - zlib compressor highly optimized for file size
- Offzip
- Deark
See also DEFLATE#Software.