Gzip
From Just Solve the File Format Problem
(Difference between revisions)
Parchivist (Talk | contribs) |
m (Add Kaitai Struct schema) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|pronom={{PRONOM|x-fmt/266}} | |pronom={{PRONOM|x-fmt/266}} | ||
|wikidata={{wikidata|Q10287816}} | |wikidata={{wikidata|Q10287816}} | ||
+ | |kaitai struct=gzip | ||
}} | }} | ||
'''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. | ||
Line 18: | Line 19: | ||
* RFC 1952 | * RFC 1952 | ||
== Sample files == | == Sample files == | ||
− | * | + | * {{DexvertSamples|archive/gz}} |
== Software == | == Software == | ||
Line 28: | Line 29: | ||
* [http://pastebin.com/kYKpfUjd Tiny gzip decompressor without using zlib] (C++) | * [http://pastebin.com/kYKpfUjd Tiny gzip decompressor without using zlib] (C++) | ||
* {{Deark}} | * {{Deark}} | ||
+ | * {{XAD}} | ||
See also [[DEFLATE#Software]]. | See also [[DEFLATE#Software]]. |
Latest revision as of 17:34, 26 December 2024
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 |
[edit] 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
.
[edit] Specifications
[edit] Sample files
[edit] Software
- Original gzip
- GNU gzip
- 7-Zip
- zlib
- zopfli (Gzip-compatible, better compression, but very slow compression)
- Tiny gzip decompressor without using zlib (C++)
- Deark
- XAD framework
See also DEFLATE#Software.
[edit] 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
- GZSteg - hiding a file within a gzip