Skip to content

brentonmdunn/file-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Compression with Huffman Coding

This program compresses a file using Huffman coding. This is an type of lossless encoding that assigns a shorter encoding to more frequent bytes and a longer encoding to less frequent bytes.

Because it is written in Python, it is extremely slow for files over 10 MB. A faster version of the code written in C++ can be provided upon request.

Running compression agorithm:

python compress <original_file> <compressed_file>

Uncompressing file:

python uncompress <compressed_file> <uncompressed_file>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages