Jonny-exe / arithmetic-coding-compression

This is an implementation of arithmetic coding used for compression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arithmetic-coding-compression

This is an implementation (written in python, c++ version doesn't work) of arithmetic coding for compression. You can find the principals of arithmetic coding here

Note: this is not made for serious use

The results of this encoder are:

enwik4: 10k  -->  7k
enwik5: 100k --> 63k

Arguments for encoder:

JZIP

optional arguments:
  -h, --help  show this help message and exit
  -d D        decode
  -e E        encode

TODO:

  • Make it so you can compress folders
  • Make it work with files not encoded in utf-8
  • Make it for images
  • Write in C++

About

This is an implementation of arithmetic coding used for compression

License:GNU General Public License v3.0


Languages

Language:C++ 99.1%Language:Python 0.9%