SourceForge.net Logo
Project: Compression algorithms.
Author:Arkadi Kagan
<arkadi_kagan@hotmail.com>

The project presents main known looseless compression algorithms.
All algorithms are implemented in their simplest form.

The project was compiled on:
1. Microsoft Visual Studio 6.0
2. g++ (GCC) 3.3.1 (cygming special)
3. g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
The code was done for Intel-compatible CPU.
For Big-Endian and other non-Intel architectures there is a need for some porting. I will try to avoid it from this project.

The project is compiled to command-line program "coder".
Use this program like this:
    coder [block_size] -{d|{e{a|h|7|8|w|c|f}}}
Where:
block_size - Size of sub block of data to encode
<source> - Source file name
<target> - Target file name
Options requered:
e - Encode file
d - Decode file
Encoding methods:
a - Arithmetic coding
h - Huffman coding
7 - LZ77 coding
8 - LZ78 coding
w - LZW coding
r - RLE coding

For example:
    If I want to compress source file by LZW and after
    that Arithmetic coding, I should only type:
        coder -ewa source_file target_file
    To decode it back to source:
        coder -d compressed_file target_file

I did an attempt to gather documentation on most importent Entropy Comression Methods.
This document among to my own text contain some links to other sources.
http://compressions.sourceforge.net/Entropy.html