paresh-bhagat / Implementation-of-Data-Compression-Algorithms

Encode and decode binary message bits using text file of size 1KB using different techniques and compare their results.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation of Data Compression Algorithms

The goal is to encode and decode binary message bits using text file of size 1KB using different techniques and compare their results

Algorithms implemented

  • Simple encoding
  • Huffman coding
  • Extended Huffman encoding
  • Arithmetic coding

How to Run

Download python3 and required packages then run

To run simple encoding

python3 simple_encoding.py

To run huffman encoding

python3 huffman_coding.py

To run extended huffman encoding

python3 extended_huffman.py

To run aritmetic coding

python3 arithmetic_coding.py

About

Encode and decode binary message bits using text file of size 1KB using different techniques and compare their results.


Languages

Language:Python 100.0%