Skip to content

This is a project to compress / decompress almost any file, based on the algorithm of Huffman encoding and decoding.

Notifications You must be signed in to change notification settings

AndyWangSFU/Huffman-Encoding-Decoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Huffman-Encoding-Decoding

This is a C++ project (From a 2-nd year Data Structure course) to compress / decompress files, based on the algorithm of Huffman encoding and decoding.

Test and Run

Prepare

Please download the whole program first. You can input this script in UNIX shell command:

git clone https://github.com/AndyWangSFU/Huffman-Encoding-Decoding.git
cd Huffman-Encoding-Decoding
cd huff

Then, MAKE file on C++ command

make

Use

To compress:

$ ./huff -c original_file name.huff

To Decompress:

$ ./huff -d name.huff original_file

About

This is a project to compress / decompress almost any file, based on the algorithm of Huffman encoding and decoding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published