Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.
/ libcoders Public archive

File compression library | Shennon | Fano | Huffman | Bigram Huffman | Adaptive Huffman | Arithmetic coding

License

Notifications You must be signed in to change notification settings

snovvcrash/libcoders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

File compression library | Shennon | Fano | Huffman | Bigram Huffman | Adaptive Huffman | Arithmetic coding

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published