Changes to Lempel–Ziv–Welch

TechWritereditor · 4 Dec 2026, 15:25 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Lempel–Ziv–Welch

Short description

Removed:  
Added: Lossless data compression algorithm (1984)

Type

Removed:  
Added: technology

Summary

Removed:  
Added: Lempel–Ziv–Welch (LZW) is a lossless data compression algorithm published by Terry Welch in 1984, building on earlier work by Abraham Lempel and Jacob Ziv. It became widely used in GIF and TIFF images, and a patent on it led to a dispute over GIF in the 1990s.

Fact box

Removed:  
Added: Type: Lossless data compression algorithm
Added: Introduced: 1984
Added: Developer: Terry Welch (Sperry Corporation)
Added: Based on: Work by Abraham Lempel and Jacob Ziv
Added: Used in: GIF, TIFF, PDF, Unix compress
Added: Patent: US 4,558,302 (expired 2003)

Article

Added: **Lempel–Ziv–Welch** (**LZW**) is a lossless data compression algorithm, meaning that compressed data can be restored exactly. It is used by many formats and is best known for bitmapped images.[^1][^2]
 
Added: ## History
Added: LZW builds on compression methods that Abraham Lempel and [[Jacob Ziv]] published in 1977 and 1978, which became known as LZ77 and LZ78.[^3][^2] Terry Welch refined their approach into LZW and described it in "A Technique for High-Performance Data Compression", published in the journal *Computer* in June 1984.[^1] Welch worked for the [[Sperry Corporation]], which was granted US patent 4,558,302 for the method in 1985; Sperry later merged with [[Burroughs Corporation]] to form [[Unisys]].[^1]
Added:  
Added: ## How it works
Added: LZW uses a translation table that maps strings of input characters to codes.[^1] It handles repeated patterns well and needs little processing power.[^2] The algorithm has been used in formats including [[GIF]], TIFF, [[PostScript]], [[PDF]], the Unix compress program and the V.42bis modem standard.[^2]
Added:  
Added: ## Patent dispute
Added: [[CompuServe]] introduced the GIF format, which uses LZW, in 1987.[^4] Many, including CompuServe, mistakenly believed the algorithm was in the public domain.[^2] GIF became controversial in 1994, when Unisys began charging fees to license LZW.[^4] Unisys required licences from developers of programs that created or displayed GIFs, while initially leaving end users and non-profit software alone.[^2] In 1999 it said that a written licence was needed for all use of LZW software, including free software, and the GNU Project avoided GIF files on its web pages because of the LZW patents.[^5] The Unisys patent expired in the United States on 20 June 2003 and in Europe, Japan and Canada in 2004; a related IBM patent expired in the US in 2006.[^5]
Added:  
Added: Ziv received the IEEE Medal of Honor in 2021, and the LZ77 and LZ78 methods remain in use in formats such as [[ZIP (file format)]] and [[Portable Network Graphics]].[^3]
Added:  
Added: ## See also
Added: - [[GIF]]
Added: - [[Huffman coding]]
Added: - [[Jacob Ziv]]
Added: - [[Unisys]]

Sources

Removed:  
Added: LZW (Lempel-Ziv-Welch) Compression | https://loc.gov/preservation/digital/formats/fdd/fdd000135.shtml | Library of Congress
Added: What is LZW and what are the issues surrounding it? | https://kb.iu.edu/d/aghf | Indiana University Knowledge Base
Added: Remembering Jacob Ziv | https://spectrum.ieee.org/remembering-jacob-ziv | IEEE Spectrum | 2023-04-10
Added: GIF (Graphics Interchange Format), Version 89a | https://loc.gov/preservation/digital/formats/fdd/fdd000133.shtml | Library of Congress
Added: Why There Are No GIF Files on GNU Web Pages | https://www.gnu.org/philosophy/gif | Free Software Foundation

Categories

Removed:  
Added: Data compression

Other names

Removed:  
Added: LZW
Added: Lempel-Ziv-Welch
Added: LZW compression