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.
- Host: GitHub
- URL: https://github.com/pvlbzn/showcode
- Owner: pvlbzn
- Created: 2016-06-14T15:39:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-15T12:18:37.000Z (over 9 years ago)
- Last Synced: 2025-03-01T02:41:22.409Z (8 months ago)
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.*

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`