Lempel-Ziv Compression is a data compression algorithm that works by finding repeated patterns in a sequence of data and replacing them with shorter codes. It is a widely used lossless compression technique in various applications, such as image, audio, and video compression, and is known for its efficiency and simplicity.
- code.h
- decode.c
- encode.c
- endian.h
- io.c
- io.h
- Makefile
- README.md
- trie.c
- trie.h
- word.c
- word.h
$ make
OR
$ make all
$ make encode
$ make decode
$ ./encode [-vh] [-i input] [-o output]
The encode program encodes a file. You can specify the following command line arguments.
-h
: Shows help and usage-i infile
: Input containing graph (default: stdin)-o outfile
: Output of computed path (default: stdout)-v
: Enable verbose printing.
$ ./decode [-vh] [-i input] [-o output]
The decode program decodes a file. You can specify the following command line arguments.
-h
: Shows help and usage-i infile
: Input containing graph (default: stdin)-o outfile
: Output of computed path (default: stdout)-v
: Enable verbose printing.
$ make clean
If you are a student and if are taking a look at my repository for your assignment, any piece of code that your copy from this repository is completely your responsibility. I should not be held repsonsible for any academic misconduct.