Fix typos and add info

This commit is contained in:
Joscha 2019-05-04 22:54:23 +00:00
parent b7775694de
commit 73fb9cc14b

View file

@ -3,12 +3,17 @@
The idea of this experiment is to visualize a file by converting its bytes to The idea of this experiment is to visualize a file by converting its bytes to
pixels. This process should be fully reversible (a script for another day :P). pixels. This process should be fully reversible (a script for another day :P).
It uses the `pypng` package, so make sure to install that if you want to try
this script out yourself.
## Examples ## Examples
The green pixels are just background pixels, not a part of the file.
Random bytes from `/dev/urandom`: Random bytes from `/dev/urandom`:
![random bytes](examples/random.png) ![random bytes](examples/random.png)
A short "hello world" program written in ~ and compiled by gcc: A short `hello world` program written in C and compiled by gcc:
![hello world](examples/hello_world.png) ![hello world](examples/hello_world.png)
The source code of the script: The source code of the script: