Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.

Latest commit

 

History

History
37 lines (25 loc) · 710 Bytes

File metadata and controls

37 lines (25 loc) · 710 Bytes

libcoders

Simple library that lets you compress files (6 algorithms available: Shennon, Fano, Huffman, Bigram Huffman, Adaptive Huffman and Arithmetic coding).

Made for educational purposes.

How-to-use:

1. Build, run and get help

  • 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
    

2. Clean project

  • Clean

    $ make clean
    

GUI

There is also a GUI version of this project available here.