Skip to content

A handy tool to convert large text files to a grey scale image and convert that image to the original text.

Notifications You must be signed in to change notification settings

mohitgupta3/Text-to-Image-and-reverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Text-to-Image-and-reverse

A handy tool to convert large text files to a grey scale image and convert that image to the original text.

Usage

To convert a text file to an image

python TextToImage.py -f <name-of-text-file> -l <Decimal-value-limit-for-pixel-value (1 to max)> <path-to-image>.png

or

python TextToImage.py -t <your-text> -l <Decimal-value-limit-for-pixel-value (1 to max)> <path-to-image>.png

To convert the image back to the original text

python ImageToText.py -f <path-to-image-file> <path-to-image>.png

About

A handy tool to convert large text files to a grey scale image and convert that image to the original text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages