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

https://github.com/abdallahhemdan/arithmetic-coding

🗃 Implementation of encoding and decoding of Arithmetic-Coding algorithm using python..
https://github.com/abdallahhemdan/arithmetic-coding

arithmetic-coding decoding encoding hemdan image image-compression multimedia

Last synced: 9 months ago
JSON representation

🗃 Implementation of encoding and decoding of Arithmetic-Coding algorithm using python..

Awesome Lists containing this project

README

          

![image](https://user-images.githubusercontent.com/40190772/80767695-ce1af200-8b48-11ea-8c80-b4baa1078c2b.png)


# 🗃 Arithmetic-Coding
> Implementation of encoding and decoding of Arithmetic-Coding algorithm using python..

## Table of Contents
- [Installation](#installation)
- [Running](#running)

### Installation

1. **_Clone the repository_**

```sh
$ git clone https://github.com/AbdallahHemdan/Arithmetic-Coding.git
```
2. **_Navigate to repository directory_**
```sh
$ cd Arithmetic-Coding
```

### Running

1. **Run encoding file**
```sh
$ python ./encoding.py
```
2. **Enter block Size**

3. **Enter float Size**

4. **Run decoding file**
```sh
$ python ./decoding.py
```
5. **Look at out.jpg in the repository folder**

![image](https://user-images.githubusercontent.com/40190772/80767815-15a17e00-8b49-11ea-9c3d-4b3efae4fde2.png)