diff --git a/README.md b/README.md index 0cf074a..a1afecc 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,10 @@ A small collection of various little scripts that mostly do nothing. [Link](visualize/) Visualize files by displaying their bytes as pixels. + +## Shape + +[Link](shape/) + +Convert source files to images with syntax highlighting. Each character gets +one pixel. diff --git a/shape/README.md b/shape/README.md index 1da58be..30c01c0 100644 --- a/shape/README.md +++ b/shape/README.md @@ -2,3 +2,11 @@ A similar idea to [visualize](../visualize/), but converts text files to pngs (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) diff --git a/shape/examples/shape.png b/shape/examples/shape.png new file mode 100644 index 0000000..0bc5008 Binary files /dev/null and b/shape/examples/shape.png differ