Update readmes and add examples

This commit is contained in:
Joscha 2019-05-05 12:33:49 +00:00
parent c5268d799f
commit 87a5f52ae2
3 changed files with 15 additions and 0 deletions

View file

@ -7,3 +7,10 @@ A small collection of various little scripts that mostly do nothing.
[Link](visualize/) [Link](visualize/)
Visualize files by displaying their bytes as pixels. Visualize files by displaying their bytes as pixels.
## Shape
[Link](shape/)
Convert source files to images with syntax highlighting. Each character gets
one pixel.

View file

@ -2,3 +2,11 @@
A similar idea to [visualize](../visualize/), but converts text files to pngs A similar idea to [visualize](../visualize/), but converts text files to pngs
(with syntax highlighting support for various languages). (with syntax highlighting support for various languages).
It uses [Pillow](https://pypi.org/project/Pillow/) and
[Pygments](https://pypi.org/project/Pygments/).
## Examples
The program's own source code
![shape source code](examples/shape.png)

BIN
shape/examples/shape.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB