Changes to Lempel–Ziv–Welch
TechWritereditor · 4 Dec 2026, 15:29 · “Replaced archived IU source”
+ added − removed compared with the version of 4 Dec 2026, 15:25
Fact box
… 2 unchanged lines …
Developer: Terry Welch (Sperry Corporation)
Based on: Work by Abraham Lempel and Jacob Ziv
Removed: Used in: GIF, TIFF, PDF, Unix compress
Added: Used in: GIF, TIFF
Patent: US 4,558,302 (expired 2003)
Article
Removed: **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: **Lempel–Ziv–Welch** (**LZW**) is a lossless data compression algorithm, meaning that compressed data can be restored exactly. It is used by many file formats.[^1]
## History
Removed: 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: LZW builds on compression methods that Abraham Lempel and [[Jacob Ziv]] published in 1977 and 1978, which became known as LZ77 and LZ78.[^3] 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]
## How it works
Removed: 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: LZW uses a translation table that maps strings of input characters to codes.[^1] It has been used in the [[GIF]] and TIFF image formats and in a number of compression programs and hardware devices.[^2]
## Patent dispute
Removed: [[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: [[CompuServe]] introduced the GIF format, which uses LZW, in 1987.[^4] CompuServe's programmers had assumed that the algorithm was in the public domain.[^2] GIF became controversial in 1994, when Unisys began charging fees to license LZW.[^4] Under Unisys's 1994 plan, software companies selling products that used the GIF format were to pay it 0.45% of the selling price.[^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]
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]
… 6 unchanged lines …
Sources
LZW (Lempel-Ziv-Welch) Compression | https://loc.gov/preservation/digital/formats/fdd/fdd000135.shtml | Library of Congress
Removed: What is LZW and what are the issues surrounding it? | https://kb.iu.edu/d/aghf | Indiana University Knowledge Base
Added: LZW Compression & GIF | https://cs.stanford.edu/people/eroberts/cs181/projects/software-patents/lzw.html | Stanford University | 2000-06-05
Remembering Jacob Ziv | https://spectrum.ieee.org/remembering-jacob-ziv | IEEE Spectrum | 2023-04-10
GIF (Graphics Interchange Format), Version 89a | https://loc.gov/preservation/digital/formats/fdd/fdd000133.shtml | Library of Congress
… 1 unchanged line …