Skip to content

dmitrykravchenko2018/arithmetic_coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arithmetic coding

C++ implementation of arithmetic coding algorithm based on algorithm proposed in article: Arithmetic Coding for Data Compression by Ian H. Witten, Radford M. Neal, John G. Cleary (1987).Communications of the ACM. Volume 30. Number 6. 520-540pp.

Usage

make
./arithm-coding e <input_file> <output_file>   # encode (compress)
./arithm-coding d <input_file> <output_file>   # decode (decompress)

Example:

./arithm-coding e myfile.txt myfile.bin
./arithm-coding d myfile.bin myfile_decoded.txt

About

Arithmetic Coding for Data Compression

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published