This is a CLI thing using Python.
python img_to_ascii.py path {str} [-w {int}] [-a {float}] [-s] [-c] [-b] [-o]
Option | Description |
---|---|
|
Show this help message and exit |
|
Set the character width for the ASCII converted image. [Default: 100] |
|
Adjust the aspect ratio to account for the height of your font, since characters are not square. [Default: 0.55] |
|
Clear the terminal screen before printing the ASCII image |
|
Use 256-colour ANSI mode (less vibrant). If not set, use 24-bit colour mode (more vibrant) |
|
Add background colours to the pixels, which can sometimes produce unexpected results |
|
Generate a .txt file with all the ANSI codes included. Note: The output file can be very large and unoptimized for filesize. |
By Julian