Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ZIP (file format)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Compression methods === The .ZIP File Format Specification documents the following compression methods: Store (no compression), Shrink ([[LZW]]), Reduce (levels 1β4; LZ77 + probabilistic), Implode, Deflate, Deflate64, [[bzip2]], [[LZMA]], [[Zstandard]], [[WavPack]], [[Prediction by Partial Matching|PPMd]], and a LZ77 variant provided by [[IBM z/OS]] CMPSC instruction.<ref>{{cite web|author=Adler, Mark|title=How are zlib, gzip and zip related? What do they have in common and how are they different?|url=https://stackoverflow.com/a/20765054/233286|access-date=2018-11-27}}</ref><ref name="zip6310"/> The most commonly used compression method is [[DEFLATE]], which is described in IETF {{IETF RFC|1951}}. Other methods mentioned, but not documented in detail in the specification include: PKWARE DCL Implode (old IBM TERSE), new [[Terse|IBM TERSE]], IBM LZ77 z Architecture (PFS), and a JPEG variant. A "Tokenize" method was reserved for a third party, but support was never added.<ref name="zip635"/> The word ''Implode'' is overused by PKWARE: the DCL/TERSE Implode is distinct from the old PKZIP Implode, a predecessor to Deflate. The DCL Implode is undocumented partially due to its proprietary nature held by IBM, but [[Mark Adler]] has nevertheless provided a decompressor called "blast" alongside zlib.<ref>{{cite web |title=Frequently Asked Questions about zlib |url=https://www.zlib.net/zlib_faq.html |website=zlib |quote=The PKWare DCL uses a completely different compressed data format than does PKZIP and zlib. However, you can look in zlib's contrib/blast directory for a possible solution to your problem.}} ([https://github.com/madler/zlib/tree/master/contrib/blast contrib/blast])</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)