Skip to content

This is simple realisation of Huffman code for beginners. It's used for lossless data compression.

License

Notifications You must be signed in to change notification settings

dariaemacs/Huffman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman algorithm

This is simple realisation of Huffman code for beginners. It's used for lossless data compression. GUI has been written with using FLTK (https://www.fltk.org/). It works well for text files if file size is greater than 1000 bytes. The compression reaches 50% for big files.

This histogram shows bad compression for small files:

Alt text

How to start

$ make && ./main

How to compress and decompress files:

Alt text

Youtube video explanations

Watch the video Watch the video Watch the video Watch the video Watch the video Watch the video

About

This is simple realisation of Huffman code for beginners. It's used for lossless data compression.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published