Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 139

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 144

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 145

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 153

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 150

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 157

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 381

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 382

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 383

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Setup.php on line 384

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Skin.php on line 155

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/LocalSettings.php:139) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/LocalSettings.php:139) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007
Gzip - Just Solve the File Format Problem

Gzip

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Links)
m (Add Kaitai Struct schema)
 
(7 intermediate revisions by 5 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}}
 +
|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.
  
 
== Identification ==
 
== Identification ==
gzip files begin with two signature bytes: <code>0x1F 0x8B</code>. The third byte indicates the compression method, and is normally <code>0x08</code> (meaning DEFLATE).
+
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 <code>0x1F 0x9E</code>.
+
gzip 0.5 apparently used [[Freeze/Melt]] 1.x format, with signature bytes {{magic|0x1F 0x9E}}.
  
 
== Specifications ==
 
== Specifications ==
 
* RFC 1952
 
* RFC 1952
 +
== Sample files ==
 +
* {{DexvertSamples|archive/gz}}
  
 
== Software ==
 
== Software ==
* [http://www.gzip.org/ Original gzip]
+
* [http://www.gzip.org Original gzip]
* [http://www.gnu.org/software/gzip/ GNU gzip]
+
* [https://www.gnu.org/software/gzip/ GNU gzip]
 
* [[7-Zip]]
 
* [[7-Zip]]
* [http://zlib.net/ zlib]
+
* [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++)
 +
* {{Deark}}
 +
* {{XAD}}
 +
 +
See also [[DEFLATE#Software]].
  
 
== Links ==
 
== Links ==
Line 30: Line 38:
 
* [https://twitter.com/angealbertini/status/534817626342436864/photo/1 Chart of 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
 
* [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 17:34, 26 December 2024

File Format
Name gzip
Ontology
Extension(s) .gz
MIME Type(s) application/x-gzip
PRONOM x-fmt/266
Wikidata ID Q10287816
Kaitai Struct Spec gzip.ksy

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

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/LocalSettings.php:139) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/LocalSettings.php:139) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/mediawiki/LocalSettings.php:139) in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007