Zlib

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Software)
(Software)
(12 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 compression library, and a general-purpose data compression format.
+
{{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.
  
The data format uses [[DEFLATE]] compression. It is used in many other file formats, and sometimes on its own as a file format. It is defined in [http://tools.ietf.org/html/rfc1950 RFC 1950].
+
zlib is also the name of a software library that supports the zlib format, and other formats related to DEFLATE.
  
The zlib format is not the same as [[gzip]] format, but they are fairly similar, and both are supported by the zlib library.
+
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 ==
* [http://zlib.net/ zlib data compression library]
+
* [https://zlib.net zlib data compression library]
* [http://code.google.com/p/miniz/ miniz]
+
* [https://github.com/cloudflare/zlib CloudFlare fork of zlib]
 +
* [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}}
  
== Specifications ==
+
See also [[DEFLATE#Software]].
* [http://tools.ietf.org/html/rfc1950 RFC 1950]
+
  
== External links ==
+
== Links ==
 
* [[Wikipedia:Zlib|Wikipedia article]]
 
* [[Wikipedia:Zlib|Wikipedia article]]

Revision as of 15:18, 25 January 2020

File Format
Name zlib
Ontology
Released 1995

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

See also DEFLATE#Software.

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox