What is LZW Compression?

What is LZW Compression? thumbnail
Repetitive text can be compressed into a much smaller file with LZW compression.

LZW stands for Lempel-Ziv-Welch, the names of the three creators of this data compression technique. Data compression is the process of reducing the size of a file by summarizing its data. Smaller files can be downloaded more quickly and require less disk space for storage. LZW is one of the most popular compression algorithms and is used in many programs and image formats.

  1. History

    • In 1983 Sperry filed a patent for an algorithm developed by Terry Welch, an employee at the Sperry Research Center. This algorithm is Welch's variation on a data compression technique first proposed by Jakob Ziv and Abraham Lempel in 1978. Welch's technique is both simpler and faster. He published an article in the June 1984 issue of IEEE Computer Magazine describing the technique. The technique became very popular and was widely adopted.

    Function

    • LZW compression is a form of substitutional compression. In this form of compression, a specific, unique string of characters is replaced with a reference to that phrase, which is maintained in a dictionary. The resulting data compresses because the reference to the repeated phrase is much smaller. Suppose you were compressing the phrase, "the mako shark is the fastest breed of shark." Because the word "the" is repeated, it can be replaced with a placeholder like "*".

    Considerations

    • While LZW compression is very fast, it is best suited for files that contain repetitive data. Text files and monochrome graphic images are ideal for LZW compression. Compressed files that do not contain repetitive data will actually grow in size because of the LZW data dictionary. U.S. software manufacturers who wished to use the LZW algorithm were obligated to pay a licensing fee to Unisys before the patent expired in June of 2003.

    Significance

    • Many software developers have adopted LZW compression. Spencer Thomas, the creator of the UNIX compress utility, coded LZW compression into version 1.2 of compress in July of 1984. In 1987, Bob Berry and a team at Compuserve created the GIF (Graphics Interchange Format) file format, which is still in use as of October, 2009. GIF is incredibly flexible, due in part to its use of LZW to compress graphics data.

    Scandal

    • Terry Welch's 1984 article made no mention of the pending patent Sperry had filed in 1983. The patent was granted in 1985 to Sperry, which later merged with the Burroughs Corporation--which merged to become Unisys in 1986. For nine years, the GIF format grew in popularity and adoption. Then on December 24, 1994, Unisys and Compuserve announced that any developers writing software that created or read the GIF file format had to pay a licensing fee to Unisys. This was widely decried as the "Unisys GIF Tax", and considered to be unethical, if not illegal.

    LZW Today

    • LZW compression is in the public domain, and freely available for use by anyone. The U.S. patent expired in 2003, and the European, Canadian and Japanese patents expired in 2004.

Related Searches:

References

Resources

  • Photo Credit Image by Flickr.com, courtesy of Procsilas Moscas

Comments

You May Also Like

  • Definition of File Compression

    Advances in technology make information sharing common and convenient for both business and home computer users. You can transfer files containing text,...

  • How to Do Compression Massage

    Compression is one of the many methods that can be used to give a massage. Compression is usually done in a rhythmic...

  • What Does HIPAA Stand For?

    Passed in 1996, HIPAA, or the Health Insurance Portability and Accountability Act, helps workers to retain health insurance when they change or...

  • What Is a GIF?

    A GIF is a common type of image file found on most computer systems and websites. The abbreviation "GIF" stands for Graphics...

  • How to Convert a JPG File to a TIF File

    JPG files and TIF files are both raster image files made of pixels. JPG is the default file type that many digital...

  • The Best Way to Compress MPEG Files

    Compressing files means to take a file and turn it into a smaller file format. MPEG, a Windows Media file format, is...

  • How to Use Bzip2 to Compress Files

    Bzip2 is a Unix command used for file compression. Bzip2 is gaining popularity and is becoming more commonly used than other compression...

  • WinRAR Compression Methods

    WinRAR Compression Methods. WinRAR is a program which allows you to both create and extract compressed folders. The software is designed to...

  • How to Do a Snow Compression Test

    The snow compression test is a quick test for snow stability. It is a solid tool to help identify weak layers in...

  • How to Use a Compression Tester

    Using a compression tester will help in the diagnoses of a poorly sealed cylinder on a gasoline or diesel engine. By conducting...

  • What Is a GIF File Extension?

    A file extension indicates what type of document it is. This lets the computer know which program is needed to edit the...

  • Law of Eminent Domain in Illinois

    Eminent domain is the right of a government to take personal property for use by the public. In Illinois, the state's eminent...

  • The Best Way to Compress a JPG in Photoshop

    Compressing image files in Photoshop saves disk space and allows for easier file transfers. The primary compression option in Photoshop is JPG,...

  • Types of File Compression

    Types of File Compression. Computer files can sometimes become too large for easy storage and transfer, which is especially a problem for...

  • Unix Windows Tools

    Unix is a free operating system that has been around since the 1960s while Microsoft Windows started in 1985. While these are...

  • How to Convert to Judaism

    Many people are interested in learning more about the Jewish faith and visiting synagogues without feeling the need to convert to Judaism....

  • What Is TIFF?

    TIFF stands for "Tagged Image File Format." It was originally developed by Aldus Systems, but the patent is now owned by Adobe,...

  • How to Compress Picture Files in Microsoft Office 2003

    Specially designed to run and manage the needs of a small business, Microsoft Office 2003 is an assortment of programs, each with...

Related Ads

Featured