An open API service indexing awesome lists of open source software.

https://github.com/ivan-guerra/huffman

Huffman data compression
https://github.com/ivan-guerra/huffman

compression data-structures huffman-coding

Last synced: 3 months ago
JSON representation

Huffman data compression

Awesome Lists containing this project

README

        

# Huffman Coding

This project implements a command line utility that compresses and decompresses
any kind of file (text, image, audio, etc.) using the [Huffman Coding][1]
technique.

### Program Usage

The `huffman` tool interprets two commands: `compress` and `decompress`.

The `compress` command takes two arguments where the first is the file to be
compressed and the second argument is the name of the output file:

```bash
huffman compress foo.txt foo.huf
```

The `decompress` command takes two arguments where the first argument is a file
previously compressed by the `huffman` utility and the second argument is the
name of the decompressed file:

```bash
huffman decompress foo.huf foo.txt
```

Run `huffman --help` for more information.

[1]: https://en.wikipedia.org/wiki/Huffman_coding