LZW Compression Algorithm
LZW Compression Algorithm
compression algorithm
Student:
Coordinator:
Vlad Alexandru Pasca
Cristian Mihaescu
Dr. Ing.
1.
2.
3.
4.
The input is 17 ASCII characters of 7 bits each for a total of 119 bits; the
output is 12
codewords of 8 bits each for a total of 96 bitsa compression ratio of 82
percent even
for this tiny example.
And the expansion :
Uses:
LZW compression became the first widely used universal data
compression method on computers. A large English text file can typically
be compressed via LZW to about half its original size. LZW was used in the
public-domain program compress, which became a more or less standard
utility in Unix systems circa 1986. It has since disappeared from many
distributions, both because it infringed the LZW patent and because gzip
produced better compression ratios using the LZ77-based DEFLATE
algorithm.