Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mohamedmetwalli5/filecompressor

A C++ compression and decompression program based on the Huffman Algorithm for lossless data compression.
https://github.com/mohamedmetwalli5/filecompressor

algorithm compression

Last synced: 9 days ago
JSON representation

A C++ compression and decompression program based on the Huffman Algorithm for lossless data compression.

Awesome Lists containing this project

README

        

![Language](https://img.shields.io/badge/language-C++%20-green.svg)
![License](https://img.shields.io/badge/License-MIT%20-red.svg)
# File Compressor
A C++ compression and decompression program based on the Huffman Algorithm for lossless data compression.
It can achieve savings between 20% and 90%.
## Idea
This project is to design a compression and decompression program based on the Huffman Algorithm.
The idea of the Huffman Algorithm is to minimize the weighted expected length of the bits by means of assigning shorter bits to frequently-used characters and longer bits to seldom-used characters.

## Implementation Details
The programs can compress and decompress text files consisting of 128 ASCII characters.

![Alt Text](https://media.giphy.com/media/J6ClECQjSlt71GGbUu/giphy.gif)