An open API service indexing awesome lists of open source software.

https://github.com/wyvernsemi/slzw

Simple LZW codec in C
https://github.com/wyvernsemi/slzw

c compression-algorithm decompression java lossless-algorithms lz78 lzw

Last synced: about 1 month ago
JSON representation

Simple LZW codec in C

Awesome Lists containing this project

README

          

# SLZW
Simple LZW codec in C, along with Java and Python versions. It is a minimalist LZW implementation in C to illustrate the basic lossless compression algorithm. Documentation on the code can be found here:

https://www.linkedin.com/pulse/notes-data-compression-part-3-simon-southwell/

A general article on lossless data compression (which is the 'parent' article to the above), which includes a discussion on LZW, can be found here:

https://www.linkedin.com/pulse/notes-data-compression-part-2-simon-southwell/

The source code is completely self constained, and is compiled as a single step: e.g. 'gcc slzw.c -o slzw'.

A Java version is also available in java/, with instructions in that directory for compilation, along with a Python version in the python/ directory.