Gzip

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(PRONOM)
(Software: XAD)
 
(17 intermediate revisions by 7 users not shown)
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 [[compression]] format used primarily in Unix-style operating systems, but available cross-platform. It has been standardized in an RFC document.
+
'''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.
  
== See also ==
+
== Identification ==
 +
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).
  
* [[Wikipedia:gzip]]
+
gzip 0.5 apparently used [[Freeze/Melt]] 1.x format, with signature bytes {{magic|0x1F 0x9E}}.
 +
 
 +
== Specifications ==
 
* RFC 1952
 
* RFC 1952
* [http://www.gzip.org/ Original gzip]
+
== Sample files ==
* [http://www.gnu.org/software/gzip/ GNU gzip]
+
* {{DexvertSamples|archive/gz}}
 +
 
 +
== Software ==
 +
* [http://www.gzip.org Original gzip]
 +
* [https://www.gnu.org/software/gzip/ GNU gzip]
 +
* [[7-Zip]]
 +
* [https://zlib.net zlib]
 +
* [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++)
 +
* {{Deark}}
 +
* {{XAD}}
 +
 
 +
See also [[DEFLATE#Software]].
 +
 
 +
== Links ==
 +
* [[Wikipedia:gzip|Wikipedia article]]
 +
* [http://www.infinitepartitions.com/cgi-bin/showarticle.cgi?article=art001 Dissecting the GZIP format]
 +
* [https://twitter.com/angealbertini/status/534817626342436864/photo/1 Chart of format]
 +
* [https://stackoverflow.com/questions/20762094/how-are-zlib-gzip-and-zip-related-what-do-they-have-in-common-and-how-are-they/20765054#20765054 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

Latest revision as of 10:33, 12 April 2024

File Format
Name gzip
Ontology
Extension(s) .gz
MIME Type(s) application/x-gzip
PRONOM x-fmt/266
Wikidata ID 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.

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

See also DEFLATE#Software.

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox