1. Pedro Garcia
  2. AdaptativeHuffman

Overview

HTTPS SSH

Adaptative Huffman CoDec

The classic Huffman entropy encoder and decoder.

Description

I developed this program for a college homework. This program is able to compress and decompress any file using Huffman encoding.

Installation

  1. Clone the source code

    hg clone https://bitbucket.org/kuraiev/adaptativehuffman

  2. Build the source

    cd src
    make

Execution

To compress the raw.txt file, saving as the compressed file coded.huff, proceed as follows

./huff e raw.txt coded.huff

To recover/decompress the original data in raw.txt file, use the d option

./huff d coded.huff raw_recovered.txt

License

This project is released under GNU GPL version 2.

Contact

Please send all comments, questions, reports and suggestions (especially if you would like to contribute) to sawp@sawp.com.br.