Gzip
From Just Solve the File Format Problem
(Difference between revisions)
(→Links) |
|||
Line 6: | Line 6: | ||
|mimetypes={{mimetype|application/x-gzip}} | |mimetypes={{mimetype|application/x-gzip}} | ||
|pronom={{PRONOM|x-fmt/266}} | |pronom={{PRONOM|x-fmt/266}} | ||
+ | |wikidata={{wikidata|Q10287816}} | ||
}} | }} | ||
'''gzip''' is a compressed file format and command line utility used primarily on Unix-style operating systems, but available cross-platform. It uses [[DEFLATE]] compression. | '''gzip''' is a compressed file format and command line utility used primarily on Unix-style operating systems, but available cross-platform. It uses [[DEFLATE]] compression. | ||
== Identification == | == Identification == | ||
− | gzip files begin with two signature bytes: | + | gzip files begin with two signature bytes: {{magic|0x1F 0x8B}}. The third byte indicates the compression method, and is normally <code>0x08</code> (meaning DEFLATE). |
− | gzip 0.5 apparently used [[Freeze/Melt]] 1.x format, with signature bytes | + | gzip 0.5 apparently used [[Freeze/Melt]] 1.x format, with signature bytes {{magic|0x1F 0x9E}}. |
== Specifications == | == Specifications == | ||
Line 19: | Line 20: | ||
== Software == | == Software == | ||
* [http://www.gzip.org/ Original gzip] | * [http://www.gzip.org/ Original gzip] | ||
− | * [ | + | * [https://www.gnu.org/software/gzip/ GNU gzip] |
* [[7-Zip]] | * [[7-Zip]] | ||
− | * [ | + | * [https://zlib.net/ zlib] |
* [https://github.com/google/zopfli zopfli] (Gzip-compatible, better compression, but very slow compression) | * [https://github.com/google/zopfli zopfli] (Gzip-compatible, better compression, but very slow compression) | ||
* [http://pastebin.com/kYKpfUjd Tiny gzip decompressor without using zlib] (C++) | * [http://pastebin.com/kYKpfUjd Tiny gzip decompressor without using zlib] (C++) | ||
+ | * See also [[DEFLATE#Software]] | ||
== Links == | == Links == |
Revision as of 14:42, 3 November 2019
gzip is a compressed file format and command line utility used primarily on Unix-style operating systems, but available cross-platform. It uses DEFLATE compression.
Contents |
Identification
gzip files begin with two signature bytes: 0x1F 0x8B
. The third byte indicates the compression method, and is normally 0x08
(meaning DEFLATE).
gzip 0.5 apparently used Freeze/Melt 1.x format, with signature bytes 0x1F 0x9E
.
Specifications
Software
- Original gzip
- GNU gzip
- 7-Zip
- zlib
- zopfli (Gzip-compatible, better compression, but very slow compression)
- Tiny gzip decompressor without using zlib (C++)
- See also DEFLATE#Software
Links
- Wikipedia article
- Dissecting the GZIP format
- Chart of format
- How are zlib, gzip and Zip related? What do they have in common and how are they different? - Response to StackOverflow question by zlib/gzip co-creator Mark Adler