Skip to content

JoshuaEbenezer/huffman_encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Huffman encoding

Performs Huffman encoding for a 2D image

Writes the codes (for each pixel value) in a text file and prints the efficiency of the compression scheme

Change the image name inside the function (replace it with the image location in your system) and run it using python 3

Type 'python huffman.py' in the command line to run the program

Releases

No releases published

Packages

No packages published

Languages