Skip to content

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

Notifications You must be signed in to change notification settings

ptr-dodge/text_to_pixels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4cde35a · Mar 9, 2023

History

2 Commits
Mar 3, 2023
Mar 3, 2023
Mar 3, 2023
Mar 9, 2023

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