![]() |
![]() |
|
![]() |
![]() |
Encyclopedia :
L :
LZ :
LZM :
LZMA |
|
|
LZMALZMA, short for Lempel-Ziv-Markov chain-Algorithm, is a data compression algorithm used in the 7z format of the 7-Zip archiver. It uses a dictionary compression scheme somewhat similar to LZ77 and features a high compression ratio (generally higher than Bzip2) and a variable compression-dictionary size (up to 4 GB).Overview The open source (written in C++) LZMA compression library uses Instead of Huffman coding, some entropy coding is used. Streams for data, repeated-sequence size and repeated-sequence Other used concepts include hash chains, BCJ / BCJ2 Binary file compression The LZMA SDK comes with the BCJ / BCJ2 compressor included: While 7-Zip BCJ2 assumes 32 bit displacements (addresses), for The difference between BCJ and BCJ2 is that the former only implementation (7-Zip) specific commentsThe reference implementation, which is available under the GNU LGPL license, has the following properties:
Unfortunately, the use of Microsoft Windows specific features is deeply buried in the source code, which makes it very difficult to create a Unix-compatible version. However, there are two working ports to Unix-like platforms: p7zip is a more-or-less complete port of the 7z and 7za command-line versions of 7-zip There is a Mac OS X port of 7zip called Compress (not related with the old archiving format), but it is buggy at best. The PyLZMA Python Wrapper supports compression and decompression on the Windows and Linux platforms. Some embedded router-dsl-wireless devices (like the US Robotics 9105 and 9106) run a modified version of Linux (source code available on USR website, apparently the source comes from Broadcom) which boots on a filesystem which is basically Cramfs, modified to use LZMA compression instead of ZLIB. They seem to use a thick layer of glue code around the reference decompression code (it's a read-only filesystem like ISO9660, the standard compact disc filesystem). Modified cramfs tools are available to deal with such LZMA CRAMFS filesystem images. External links
|
|
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License. |
|
| © 2008 Chamas Enterprises Inc. |