Changes to Data compression

TechWritereditor · 5 Dec 2026, 09:25 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Data compression

Short description

Removed:  
Added: Encoding data so it takes up less space

Type

Removed:  
Added: technology

Summary

Removed:  
Added: Data compression is the process of encoding information so that it needs less space to store or less capacity to transmit. It can be lossless, where the original is restored exactly, or lossy, where some detail is discarded for much smaller files.

Fact box

Removed:  
Added: Type: Data encoding technique
Added: Main forms: Lossless and lossy
Added: Early example: Morse code
Added: Key methods: Huffman coding (1950s), Lempel–Ziv algorithms (1977–78)
Added: Common formats: ZIP, PNG, GIF, JPEG, MP3

Article

Added: **Data compression** is the reduction of the amount of data needed to store or transmit information, usually by encoding it in a more efficient way.[^1] Smaller files take up less storage and move across networks more quickly.[^2]
 
Added: ## Lossless and lossy compression
Added: Lossless compression makes files smaller while allowing the original data to be restored exactly.[^3] It suits work where every detail matters, and formats such as [[Portable Network Graphics]] and [[GIF]] use it.[^2] Most lossless methods work by finding repeated patterns in a file and replacing them with shorter codes.[^2]
Added:  
Added: Lossy compression permanently discards the parts of the data that people are least likely to notice, so the result is not a perfect copy of the original.[^3] Well-known lossy formats include [[JPEG]] for images and [[MP3]] for audio.[^3] Lossy files can be very small, but they lose quality each time they are edited and saved again.[^2]
Added:  
Added: ## History
Added: The idea is older than computers. Morse code gave the shortest signals to the most common letters, an early form of compression.[^1]
Added:  
Added: While a graduate student at the Massachusetts Institute of Technology, [[David A. Huffman]] wrote a term paper describing what became known as [[Huffman coding]].[^4] The method gives the shortest codes to the most frequent patterns, but it needs two passes through a file.[^3] Huffman codes went on to be used in fax machines, modems, computer networks and high-definition television.[^4]
Added:  
Added: In 1977 [[Jacob Ziv]] and Abraham Lempel published an algorithm, now called LZ77, that could compress data in a single pass by replacing repeated sequences with short pointers to earlier copies.[^3] A refinement, LZ78, followed in 1978, and a later variant by Terry Welch, [[Lempel–Ziv–Welch]], became especially widespread.[^3] Lempel–Ziv methods underpin the Unix compress program, Gzip and the GIF and TIFF image formats.[^3]
Added:  
Added: ## Importance
Added: Compression became more important as the [[Internet]] grew, because early connections over slow telephone lines made large image, audio and video files hard to transfer.[^2] The theoretical limit that compression methods aim for is set by the information theory of [[Claude Shannon]].[^3]
Added:  
Added: ## See also
Added: - [[Huffman coding]]
Added: - [[Lempel–Ziv–Welch]]
Added: - [[ZIP (file format)]]
Added: - [[JPEG]]

Sources

Removed:  
Added: Data compression | https://www.britannica.com/technology/data-compression | Encyclopaedia Britannica | 2026-09-11
Added: Data compression | https://www.ebsco.com/research-starters/computer-science/data-compression | EBSCO Research Starters
Added: From WinZips to Cat GIFs, Jacob Ziv's Algorithms Have Powered Decades of Compression | https://spectrum.ieee.org/from-winzips-to-cat-gifs-jacob-zivs-algorithms-have-powered-decades-of-compression | IEEE Spectrum | 2021-04-21
Added: David A. Huffman memorial press release | https://www1.ucsc.edu/news_events/press_releases/archive/99-00/10-99/huffmem.htm | University of California, Santa Cruz | 1999-10-14

Categories

Removed:  
Added: Data storage
Added: Mathematics of computing

Other names

Removed:  
Added: Compression
Added: Data compaction
Added: Source coding