Skip to content

Huffman Compression is a lossless data compression technique that assigns variable-length codes to different characters in a message based on their frequency.

License

Notifications You must be signed in to change notification settings

SusheelThapa/Huffman-Compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman-Compression

github-profile-readme-generator license github-profile-readme-generator forks github-profile-readme-generator stars

A Huffman encoding visualizer is a tool that helps users
understand the process of assigning variable-length codes to different characters in a message, with the
goal of minimizing the total number of bits required to represent the message while preserving its content, and
is useful for computer science students and anyone interested in digital communication.

Demo

New.video.1.mp4

If you just want to run the project you can just run the executable file inside executable folder.


Setting up Project

Linux

  1. First of all give install.sh file executable permission

    chmod +x install.sh
  2. Run install.sh

    ./install.sh

You can head over running the project in Linux

Windows

  1. Clone the project using SSH key.
git clone git@github.com:SusheelThapa/Huffman-Compression.git
  1. Go to this drive link and download the files:

    https://drive.google.com/drive/folders/13t9OIwvZkN2bkxj49nEdxqW1jjMEYFqs?usp=sharing

  2. Go to the project's include directory and paste the lib folders and additional include directories inside it.

  3. Copy and paste the dll files to the main directory i.e Huffman-Compression(where main.cpp is located.)

You can head over running the project in Windows

Running the Project

Linux

  1. Giving build.sh file executable permission.

    chmod +x build.sh
  2. Compiling the project

./build.sh
  1. Running project

    ./main

Windows

  1. Open Huffman-Compression in VScode.

  2. Open Terminal and type

    mingw32-make.exe
    
  3. Run the project by typing ./main in terminal.

Authors

About

Huffman Compression is a lossless data compression technique that assigns variable-length codes to different characters in a message based on their frequency.

Topics

Resources

License

Stars

Watchers

Forks