โŒจ๏ธap computer science principles review

LZW compression algorithm

Written by the Fiveable Content Team โ€ข Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated August 2025

Definition

LZW compression algorithm is a lossless data compression method that replaces repeated sequences of characters with shorter codes. It is commonly used in file formats like GIF and TIFF.

"LZW compression algorithm" also found in: