XZ

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Software)
m (Change telparia.com samples link to template)
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
|extensions={{ext|xz}}
 
|extensions={{ext|xz}}
 
|mimetypes={{mimetype|application/x-xz}}
 
|mimetypes={{mimetype|application/x-xz}}
 +
|pronom={{PRONOM|fmt/1098}}
 
}}
 
}}
 
'''XZ''' is a stream compression format with built-in integrity checks. It uses [[LZMA2]] compression. Compressed streams are able to be concatenated and still be decompressible like a single-stream file.
 
'''XZ''' is a stream compression format with built-in integrity checks. It uses [[LZMA2]] compression. Compressed streams are able to be concatenated and still be decompressible like a single-stream file.
Line 13: Line 14:
  
 
== Software ==
 
== Software ==
* [[7-Zip]] supports XZ among other formats
+
* [[7-Zip]]
 
* [http://7-zip.org/sdk.html LZMA SDK]
 
* [http://7-zip.org/sdk.html LZMA SDK]
 
* [http://tukaani.org/xz/ XZ Utils]:
 
* [http://tukaani.org/xz/ XZ Utils]:
Line 19: Line 20:
 
** <code>xzdec</code>
 
** <code>xzdec</code>
 
** liblzma
 
** liblzma
 +
* [http://tukaani.org/xz/embedded.html XZ Embedded]
 +
 +
== Sample files ==
 +
* {{DexvertSamples|archive/xz}}
  
 
== References ==
 
== References ==
Line 24: Line 29:
 
* [http://tukaani.org/xz/format.html Official site] (has historical specs with other info)
 
* [http://tukaani.org/xz/format.html Official site] (has historical specs with other info)
 
* [[Wikipedia:xz|Wikipedia article]]
 
* [[Wikipedia:xz|Wikipedia article]]
 +
* [http://www.nongnu.org/lzip/xz_inadequate.html Xz format inadequate for long-term archiving] - Analysis of weaknesses and design errors in the xz format, by the author of another format

Latest revision as of 02:55, 28 December 2023

File Format
Name XZ
Ontology
Extension(s) .xz
MIME Type(s) application/x-xz
PRONOM fmt/1098

XZ is a stream compression format with built-in integrity checks. It uses LZMA2 compression. Compressed streams are able to be concatenated and still be decompressible like a single-stream file.

XZ is a successor to LZMA_Alone format, and an alternative to Lzip.

Contents

[edit] Identification

XZ files always have lengths that are multiples of 4 bytes, and they begin with a 6-byte "magic" sequence of (hex) FD 37 7A 58 5A 00 and end with footer "magic bytes" of 59 5A. (The ending bytes can be verified as a sign that the file has not been truncated in transmission.)

[edit] Software

[edit] Sample files

[edit] References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox