Simple library that lets you compress files (6 algorithms available: Shennon, Fano, Huffman, Bigram Huffman, Adaptive Huffman and Arithmetic coding).
Made for educational purposes.
-
Build
$ make default
-
Help
$ ./libcoders -h
-
Usage example
$ ./libcoders -c -i input_file.txt -o encoded_file -m shennon $ ./libcoders -d -i encoded_file -o decoded_file.txt -m shennon
-
Clean
$ make clean
There is also a GUI version of this project available here.