Add visualize examples
This commit is contained in:
parent
04fe68a9eb
commit
e310569027
5 changed files with 16 additions and 3 deletions
|
|
@ -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`:
|
||||||
|

|
||||||
|
|
||||||
|
A short "hello world" program written in ~ and compiled by gcc:
|
||||||
|

|
||||||
|
|
||||||
|
The source code of the script:
|
||||||
|

|
||||||
|
|
||||||
|
The source code of the script, with correct line lengths:
|
||||||
|

|
||||||
|
|
|
||||||
BIN
visualize/examples/hello_world.png
Normal file
BIN
visualize/examples/hello_world.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
visualize/examples/random.png
Normal file
BIN
visualize/examples/random.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
visualize/examples/visualize.png
Normal file
BIN
visualize/examples/visualize.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
BIN
visualize/examples/visualize_lines.png
Normal file
BIN
visualize/examples/visualize_lines.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Loading…
Add table
Add a link
Reference in a new issue