DataToPixel is a Python module that converts arbitrary ASCII data into images, and back.
Go to file
Skye Stevenson fd99c3cf81
Create README.md
2018-03-25 12:16:11 -07:00
DataToPixel_Grayscale.py Added working grayscale, RGB versions of the script. Functions properly. 2018-03-25 11:55:30 -07:00
DataToPixel_RGB.py Added working grayscale, RGB versions of the script. Functions properly. 2018-03-25 11:55:30 -07:00
PixelToData_Grayscale.py Added working grayscale, RGB versions of the script. Functions properly. 2018-03-25 11:55:30 -07:00
PixelToData_RGB.py Added working grayscale, RGB versions of the script. Functions properly. 2018-03-25 11:55:30 -07:00
README.md Create README.md 2018-03-25 12:16:11 -07:00

README.md

DataToPixel

DataToPixel is a Python script that can store files as PNG pixelmaps of ASCII values, as well as a script to convert the images back into their original format.

DataToPixel goes through every character in a file, and stores its numeric ASCII value as a pixel value in the converted image, which is automatically saved as a PNG. The grayscale script encodes one ASCII character per pixel, where the RGB script encodes three per pixel: one in each color channel of each pixel.

##Example Plato's Republic

Dependencies

Requires Python Imaging Library (PIL)