Description: LZW is implemented in C language.
LZW algorithm, first create a string table, put each string for the first time in the string table, with a number, the number and position of the string in the string table, and the number in the compressed file, if the string appeared again, said its Numbers can be used in place of the, and the number in the file. After the compression is completed, the list is discarded. Such as "print" string, if expressed in 266 when compressed, as long as again, in 266, said to "print" string in the string table, encountered the number 266 in image resolution, can be detected from a string table 266 represented by the string "print", when the decompression, string table can be generated according to the compression data
File list (Check if you may need any files):