Skip to content

A python compression and decompression program based on Arithmetic Coding.

Notifications You must be signed in to change notification settings

sirSayed98/Arithmetic-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A python compression and decompression program based on Arithmetic Coding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages