An open API service indexing awesome lists of open source software.

https://github.com/pvlbzn/showcode

"Show me the code": ASCII code into a picture and back.
https://github.com/pvlbzn/showcode

Last synced: 3 months ago
JSON representation

"Show me the code": ASCII code into a picture and back.

Awesome Lists containing this project

README

          

## showcode
Fancy way to show the code.


#### Usage
Use `-c` code flag to code, `-d` for decode back.

```
showcode -c ./sample/source.txt
```

Will produce the following file, but in `.ppm` format. *PNG and friends aint suitable for this purpose bescause of the compression.*

![output](https://github.com/pvlbzn/showcode/blob/master/sample/output.png "showcode output")

Use `-d` decode flag to decode `.ppm` image back to the code.


#### Issues
- Bug in column/row algorithm with huge source files (it produces only one row)
- Unicode unfriendly because of `.ppm`