Gzip
From Just Solve the File Format Problem
(Difference between revisions)
(Updated link) |
(→Software) |
||
Line 23: | Line 23: | ||
* [http://zlib.net/ zlib] | * [http://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++) | ||
== Links == | == Links == |
Revision as of 21:54, 31 December 2015
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++)