Add visualize examples

This commit is contained in:
Joscha 2019-05-04 22:49:04 +00:00
parent 04fe68a9eb
commit e310569027
5 changed files with 16 additions and 3 deletions

View file

@ -1,5 +1,18 @@
# Visualize # Visualize
The idea of this experiment is to visualize any file interpreting its bytes as The idea of this experiment is to visualize a file by converting its bytes to
RGB colours. This process isn't reversible unless you know the original image's pixels. This process should be fully reversible (a script for another day :P).
size in bytes.
## Examples
Random bytes from `/dev/urandom`:
![random bytes](examples/random.png)
A short "hello world" program written in ~ and compiled by gcc:
![hello world](examples/hello_world.png)
The source code of the script:
![visualize](examples/visualize.png)
The source code of the script, with correct line lengths:
![visualize with correct line lengths](examples/visualize_lines.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB