Skip to content

ptr-dodge/text_to_pixels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text to Pixels

creative way to store text as an image

this project started as a sort of challenge from a friend and i decided to come up with a way to create these kinds of images and decode back and forth

Encoder.py

usage:
    python encoder.py "string to encode here" output.png

Decoder.py

usage:
    python decoder.py output.png
    # output would be "string to encode here"

Todo:

  • read text from a file and convert it to image
  • read hex bytes from a file and convert them to an image
  • make the decoder work with all that

About

Convert hex values from text to RGBA values in an image ;)

Topics

Resources

Stars

Watchers

Forks

Languages