Skip to content

Hawk453/shannon_fano_coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shannon Fano

License: MIT


A small practice library created as a project to encode an image.

Installation

pip install shannon-fano

How to use this?

This library returns the shannon fano code words of the image.

from shannon_fano import Shannon_fano_encoding

# enter the image name as <name of the image.extension>

image_name = Shannon_fano_encoding(input("Enter the Filename:"))
print(image_name.encode())

About

A simple library to encode an image using shannon fano algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages