Compression

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Specific file formats/programs)
(Relocate LZ4 page to Stream compression formats section.)
 
(12 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
== Stream compression formats ==
 
== Stream compression formats ==
  
A stream format takes a stream of bytes, and outputs a different, hopefully smaller, stream of bytes. These compression formats are often used internally in other data structures to compress data, as well as in network protocols, such as http. Used stand-alone, a stream compression format does not offer archiving capability, however in the UNIX doctrine, an archiver like [[tar]] can be combined with an archive format to produce a proper compressed archive.
+
A stream format takes a stream of bytes, and outputs a different, hopefully smaller, stream of bytes. These compression formats are often used internally in other data structures to compress data, as well as in network protocols, such as http. Used stand-alone, a stream compression format does not offer archiving capability, however in the UNIX doctrine, an archiver like [[tar]] or the more archaic variant [[shar]] can be combined with an archive format to produce a proper compressed archive.
 +
 
 +
* [[gzip]] (.gz)
 +
* [[bzip2]] (.bz2)
 +
* [[LZ4]]
 +
* [[LZMA Alone|LZMA_Alone]] (.lzma)
 +
* [[pack (Unix)]] (.z)
 +
* [[XZ]] (.xz)
 +
* [[Zstandard]] (.zstd)
 +
** [[Zstandard dictionary]]
  
 
== Compression algorithms and compressed data formats ==
 
== Compression algorithms and compressed data formats ==
Line 25: Line 34:
 
** [[Adaptive Huffman coding]]
 
** [[Adaptive Huffman coding]]
 
** [[Canonical Huffman code]]
 
** [[Canonical Huffman code]]
 +
* [[InstaCompOne]]
 
* [[Lempel–Ziv–Stac]] (LZS)
 
* [[Lempel–Ziv–Stac]] (LZS)
* [[LZ4]]
 
 
* [[LZ77]]
 
* [[LZ77]]
 
* [[LZ77 with Huffman coding]]
 
* [[LZ77 with Huffman coding]]
Line 36: Line 45:
 
* [[LZMW]]
 
* [[LZMW]]
 
* [[LZO]] (Lempel–Ziv–Oberhumer)
 
* [[LZO]] (Lempel–Ziv–Oberhumer)
 +
* [[LZRW]]
 
* [[LZSS]] (Lempel–Ziv–Storer–Szymanski)
 
* [[LZSS]] (Lempel–Ziv–Storer–Szymanski)
 
* [[LZW]]
 
* [[LZW]]
Line 50: Line 60:
 
* [[Snappy]] (Google-created compression also used by Apple in iWork formats)
 
* [[Snappy]] (Google-created compression also used by Apple in iWork formats)
 
* [[zlib]]
 
* [[zlib]]
* [[Zstandard]] (Zstd)
 
** [[Zstandard dictionary]]
 
  
 
=== Graphics compression ===
 
=== Graphics compression ===
Line 63: Line 71:
 
* [[ABC (Advanced Blocksorting Compressor)]]
 
* [[ABC (Advanced Blocksorting Compressor)]]
 
* [[ABComp]] (.abp)
 
* [[ABComp]] (.abp)
 +
* [[Aldus LZW]]
 
* [[Aldus PKZP]]
 
* [[Aldus PKZP]]
 
* [[BARF]] (.x, .x??)
 
* [[BARF]] (.x, .x??)
Line 68: Line 77:
 
* [[BWTC32Key]] (.B3K)
 
* [[BWTC32Key]] (.B3K)
 
* [[bzip]] (.bz)
 
* [[bzip]] (.bz)
* [[bzip2]] (.bz2)
 
 
* [[BZip3]] (.bz3)
 
* [[BZip3]] (.bz3)
 
* [[CAZIP]]
 
* [[CAZIP]]
Line 83: Line 91:
 
* [[DitPack]]
 
* [[DitPack]]
 
* [[DUPA]] (Amiga FileImploder Clone)
 
* [[DUPA]] (Amiga FileImploder Clone)
 +
* [[EBZ|EBZip]] (.ebz)
 
* [[EDI Install archive]]
 
* [[EDI Install archive]]
 
* [[EDI Install packed file]]
 
* [[EDI Install packed file]]
Line 91: Line 100:
 
* [[FlySpeed st/exp]]
 
* [[FlySpeed st/exp]]
 
* [[Freeze/Melt]] (Unix) (.F)
 
* [[Freeze/Melt]] (Unix) (.F)
* [[gzip]] (.gz)
 
 
* [[Hammer (compression)|Hammer]]
 
* [[Hammer (compression)|Hammer]]
 
* [[HAP]] (v2.x)
 
* [[HAP]] (v2.x)
Line 101: Line 109:
 
* [[JCalG1]] (.jc, Commodore Amiga)
 
* [[JCalG1]] (.jc, Commodore Amiga)
 
* [[Kboom11]]
 
* [[Kboom11]]
 +
* [[Logitech Compress]]
 
* [[lrzip]] (.lrz)
 
* [[lrzip]] (.lrz)
 
* [[LZ5 and Lizard]]
 
* [[LZ5 and Lizard]]
Line 106: Line 115:
 
* [[LZHUF]]
 
* [[LZHUF]]
 
* [[Lzip]] (.lz)
 
* [[Lzip]] (.lz)
* [[LZMA Alone|LZMA_Alone]] (.lzma)
 
 
* [[lzop]] (.lzo)
 
* [[lzop]] (.lzo)
 
* [[LZS221]]
 
* [[LZS221]]
Line 123: Line 131:
 
* [[NRV (Not Really Vanished)]]
 
* [[NRV (Not Really Vanished)]]
 
* [[Oodle Data Compression]]
 
* [[Oodle Data Compression]]
* [[pack (Unix)]] (.z)
 
 
* [[PGNPack]]
 
* [[PGNPack]]
 
* [[PowerPacker]] (.pp)
 
* [[PowerPacker]] (.pp)
Line 138: Line 145:
 
* [[SCO compress LZH]]
 
* [[SCO compress LZH]]
 
* [[SEMONE]] (.one)
 
* [[SEMONE]] (.one)
 +
* [[sfArk]]
 
* [[SFDN Packer]]
 
* [[SFDN Packer]]
 +
* [[SFPack]]
 
* [[SHARC]] (density)
 
* [[SHARC]] (density)
 
* [[Softdisk Text Compressor]] (.ctx)
 
* [[Softdisk Text Compressor]] (.ctx)
Line 158: Line 167:
 
* [[WWPACK]]
 
* [[WWPACK]]
 
* [[XPK]]
 
* [[XPK]]
* [[XZ]] (.xz)
 
 
* [[Yaz0]]
 
* [[Yaz0]]
 
* [[zchunk]]
 
* [[zchunk]]
Line 172: Line 180:
 
* [[DIET (compression)|DIET]]
 
* [[DIET (compression)|DIET]]
 
* [[Diet Disk]]
 
* [[Diet Disk]]
 +
* [[DiskDoubler]]
 
* [[Pack-Ice]]
 
* [[Pack-Ice]]
 
* [[SLIM (Dominic Herity)|SLIM]]
 
* [[SLIM (Dominic Herity)|SLIM]]
Line 180: Line 189:
 
(Transparent disk compression software and the like, excluding filesystem formats.)
 
(Transparent disk compression software and the like, excluding filesystem formats.)
  
* [[DiskDoubler]]  
+
* [[DoubleDisk]]
* [[DriveSpace]] and DoubleSpace
+
* [[DoubleSpace and DriveSpace]]
 
* [[JAM (disk compression)]]
 
* [[JAM (disk compression)]]
 
* [[Stacker]]
 
* [[Stacker]]
 +
* [[SuperStor]]
  
 
For filesystem formats that feature compression, see [[Filesystem]] (especially [[Filesystem#Compressed filesystems]]).
 
For filesystem formats that feature compression, see [[Filesystem]] (especially [[Filesystem#Compressed filesystems]]).
Line 202: Line 212:
 
== Links ==
 
== Links ==
 
* [http://boingboing.net/2014/03/04/data-compression-with-playing.html Data-compression with playing cards]
 
* [http://boingboing.net/2014/03/04/data-compression-with-playing.html Data-compression with playing cards]
* [http://www.quora.com/What-is-the-most-compressed-file-ever/answer/Kelly-Martin?srid=uejz&share=1 What is the most compressed file ever?]
+
* [https://web.archive.org/web/20201108101659/https://bestofquora.wordpress.com/2014/06/14/what-is-the-most-compressed-file-ever/ What is the most compressed file ever?]  
* [http://ieeeghn.org/wiki/index.php/History_of_Lossless_Data_Compression_Algorithms History of Lossless Data Compression Algorithms]
+
* [https://ethw.org/History_of_Lossless_Data_Compression_Algorithms History of Lossless Data Compression Algorithms]
 +
* [https://www.mattmahoney.net/dc/dce.html Data Compression Explained - Matt Mahoney]

Latest revision as of 08:37, 16 August 2025

File Format
Name Compression
Ontology

{{{caption}}}

Contents

[edit] Stream compression formats

A stream format takes a stream of bytes, and outputs a different, hopefully smaller, stream of bytes. These compression formats are often used internally in other data structures to compress data, as well as in network protocols, such as http. Used stand-alone, a stream compression format does not offer archiving capability, however in the UNIX doctrine, an archiver like tar or the more archaic variant shar can be combined with an archive format to produce a proper compressed archive.

[edit] Compression algorithms and compressed data formats

(excluding formats usually used as file formats)

[edit] Graphics compression

See Graphics#Compression for compression formats used primarily with graphics.

[edit] Specific file formats/programs

(multi-file compressors are in Archiving)

[edit] Transparent file compression

(A mostly-obsolete technique in which a background process hooks into the OS and decompresses files transparently when they are read. Compression might be done manually. The line between this and Disk compression can be blurry.)

[edit] Disk compression

(Transparent disk compression software and the like, excluding filesystem formats.)

For filesystem formats that feature compression, see Filesystem (especially Filesystem#Compressed filesystems).

[edit] Executable compression

See Executable compression.

[edit] See also

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox