Update README.md

This commit is contained in:
Skye Stevenson 2018-03-25 12:26:33 -07:00 committed by GitHub
parent 3e1621227d
commit b5b2c1e4b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ DataToPixel is a Python script that can store files as PNG pixelmaps of ASCII va
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. 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 ## Example
Here's a lossless conversion of a PDF of Plato's Republic into a PNG pixelmap.
![Plato's Republic](https://github.com/skyestevenson/DataToPixel/blob/master/Plato_Republic_PDF.png?raw=true) ![Plato's Republic](https://github.com/skyestevenson/DataToPixel/blob/master/Plato_Republic_PDF.png?raw=true)
## Dependencies ## Dependencies