A CLI tool for generating ASCII Art from any image you like.
Here is basic command. It supports .jpg (.jpeg)
and .png
image.
$ ascii-art-gen ./cat.png
You can use --threshold
or -t
option to use any threshold. The default threshold is determined automatically by OTSU's method.
$ ascii-art-gen -t 128 ./cat.png
You can use --magnification
or -m
option to control the size of the ascii art. The default magnification is 1.0.
$ ascii-art-gen -m 2.0 ./cat.png
- run app
$ go run main.go <image>
- format
$ make fmt
- test
$ make test
- build
$ make build
MIT