World Library  
Flag as Inappropriate
Email this Article

LZX (algorithm)

Article Id: WHEBN0000739430
Reproduction Date:

Title: LZX (algorithm)  
Author: World Heritage Encyclopedia
Language: English
Subject: Data compression, Lempel–Ziv–Markov chain algorithm, Amiga, List of archive formats, Compression methods
Collection: Amiga, Lossless Compression Algorithms
Publisher: World Heritage Encyclopedia
Publication
Date:
 

LZX (algorithm)

LZX is the name of an LZ77 family compression algorithm. It is also the name of a file archiver with the same name. Both were invented by Jonathan Forbes and Tomi Poutanen.

Contents

  • Instances of use of the LZX algorithm 1
    • Amiga LZX 1.1
    • Microsoft Cabinet files 1.2
    • Microsoft Compressed HTML Help (CHM) files 1.3
    • Microsoft Reader (LIT) files 1.4
    • Windows Imaging Format (WIM) files 1.5
    • Xbox Live Avatars 1.6
  • Decompressing LZX files 2
  • See also 3
  • References 4
  • External links 5

Instances of use of the LZX algorithm

Amiga LZX

LZX was publicly released as an Amiga file archiver in 1995, while the authors were studying at the University of Waterloo in Canada. The software was shareware, which was common for compression software at the time. The registered version contained fixes and improvements not available in the evaluation version. In 1997, the authors gave away a free keyfile, which allowed anyone to use the registered version, as they had stopped work on the archiver and stopped accepting registrations.

Microsoft Cabinet files

In 1996, Forbes went to work for Microsoft,[1] and Microsoft's cabinet archiver was enhanced to include the LZX compression method. Improvements included a variable search window size; Amiga LZX was fixed to 64kB, Microsoft LZX could range on powers of two between 32 and 2048 kilobytes. A special preprocessor was added to detect Intel 80x86 "CALL" instructions, converting their operands from relative addressing to absolute addressing, thus calls to the same location resulted in repeated strings that the compressor could match, improving compression of 80x86 binary code.

Microsoft Compressed HTML Help (CHM) files

When Microsoft introduced Microsoft Compressed HTML Help, the replacement to their classic Help file format, they chose to compress all of the HTML data with the LZX algorithm. However, in order to improve random access speed, the compressor was altered to reset itself after every 64 kilobyte interval and re-align to a 16-bit boundary after every 32 kilobyte interval. Thus, the HTMLHelp software could immediately seek to the nearest 64 kilobyte interval and start decoding from there, rather than decoding from the beginning of the compressed datastream at all times.

Microsoft Reader (LIT) files

Microsoft LIT files for Microsoft Reader are simply an extension of the CHM file format, and thus also use LZX compression.

Windows Imaging Format (WIM) files

Windows Imaging Format, the installation/drive image file format of Windows Vista and Windows 7, uses LZX as one of the compression methods.[2]

Xbox Live Avatars

Microsoft uses LZX compression on Xbox Live Avatars to reduce their disk and bandwidth requirements.[3]

Decompressing LZX files

The unlzx program can unpack Amiga LZX archives. The cabextract program can unpack Microsoft cabinet files using the LZX method. There are a multitude of cross-platform tools for decompiling or viewing CHM files, as stated in the CHM article. LIT files can be unpacked using the Convert LIT software.

See also

References

  1. ^ http://www.linkedin.com/pub/jonathan-forbes/3/70a/a4b
  2. ^ http://www.apcstart.com/jbannan/2006/07/759/build-your-own-vista-install-dvd
  3. ^ http://www.xbox.com/en-US/live/engineeringblog/xbox-live-avatar-technology.htm

External links

  • The LZX page, including many versions of the Amiga LZX archiver
  • unlzx source code
  • cabextract (includes source code)
  • Convert LIT (includes source code)
  • Microsoft's LZX DELTA specification
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 



Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.