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

https://github.com/sirsayed98/arithmetic-algorithm

A python compression and decompression program based on Arithmetic Coding.
https://github.com/sirsayed98/arithmetic-algorithm

arithmetic-algorithm arithmetic-coding data-compression image-compression python

Last synced: 4 months ago
JSON representation

A python compression and decompression program based on Arithmetic Coding.

Awesome Lists containing this project

README

        

# Arithmetic-algorithm
A python compression and decompression program based on Arithmetic Coding.

# Introduction
Arithmetic coding is a way to encode a list of symbols into a single fraction f, where 0 ≤ f < 1.

#Type of data
compress gray scale image.

# How to use
put path of your image in sample.json file

# Run main.py only
main will run automatically encode.py decode.py

# You can choose data type and Block_size
Block_size=4 && float64 are recommended.

# Watch your image