Lempel–Ziv–Welch (LZW) is a universal lossless data compression algorithm. It is the algorithm of the widely used Unix file compression utility compress and it is used in the GIF image format.
Written in Java (JDK 1.8)
Examples in demo folder:
-
Input:
compressedfile1.z
-
Output:
Decompressed - compressedfile1.txt