Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

LZW Algorithm

String Algorithm

Lempel-Ziv-Welch, or LZW, is a universal lossless compression algorithm created by Abraham Lempel, Jacob Ziv, and Terry Welch, published by Welch in 1984 as an improvement on the LZ78 algorithm Lempel and Ziv had published in 1978. It is simple to implement and offers the potential for high throughput in a hardware implementation, and a large English text file can typically be compressed to about half its original size. LZW became the first widely used universal data compression method on computers, used in the Unix compress program from around 1986, though it has since largely disappeared from distributions because it infringed the LZW patent and because gzip's LZ77-based DEFLATE algorithm produced better compression ratios. The algorithm found wide use when it became part of the GIF image format in 1987, and it may optionally be used in TIFF and PDF files, though Adobe Acrobat by default uses DEFLATE for most text and color-table-based image data in PDF files.

Facts
Time Complexity
Time Complexity (category)
Linear Time -- O(n) 1
Connections

Credited To

Source LZW Algorithm (Wikipedia)
Jacob Ziv, Pioneers
Source LZW Algorithm (Wikipedia)
Terry Welch, Pioneers
Source LZW Algorithm (Wikipedia)

In Field

Source Lempel-Ziv-Welch (Wikipedia)

Invented By

Source LZW Algorithm (Wikipedia)
Jacob Ziv, Pioneers
Source LZW Algorithm (Wikipedia)
Terry Welch, Pioneers
Source LZW Algorithm (Wikipedia)
Sources
1. LZW Algorithm (Wikipedia)
  • Wikipedia infobox: time complexity linear
    linear
  • Credited To: Abraham Lempel, Lead section
    created by Abraham Lempel, Jacob Ziv, and Terry Welch
  • Invented By: Abraham Lempel, Lead section
    created by Abraham Lempel, Jacob Ziv, and Terry Welch
  • Credited To: Jacob Ziv, Lead section
    created by Abraham Lempel, Jacob Ziv, and Terry Welch
  • Invented By: Jacob Ziv, Lead section
    created by Abraham Lempel, Jacob Ziv, and Terry Welch
  • Credited To: Terry Welch, Lead section
    created by Abraham Lempel, Jacob Ziv, and Terry Welch
  • Invented By: Terry Welch, Lead section
    created by Abraham Lempel, Jacob Ziv, and Terry Welch
View the Source
Lempel-Ziv-Welch (Wikipedia)
  • In Field: Algorithms and Complexity Theory, Lead paragraph
  • In Group: Data Compression Algorithms, Lead section
    universal lossless compression algorithm
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.