2020-11-21 03:07:07 +00:00
|
|
|
# asciiart
|
|
|
|
|
|
|
|
> Convert images to ASCII.
|
|
|
|
> More information: <https://github.com/nodanaonlyzuul/asciiart>.
|
|
|
|
|
|
|
|
- Read an image from a file and print in ASCII:
|
|
|
|
|
|
|
|
`asciiart {{path/to/image.jpg}}`
|
|
|
|
|
|
|
|
- Read an image from a URL and print in ASCII:
|
|
|
|
|
|
|
|
`asciiart {{www.example.com/image.jpg}}`
|
|
|
|
|
|
|
|
- Choose the output width (default is 100):
|
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`asciiart {{[-w|--width]}} {{50}} {{path/to/image.jpg}}`
|
2020-11-21 03:07:07 +00:00
|
|
|
|
|
|
|
- Colorize the ASCII output:
|
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`asciiart {{[-c|--color]}} {{path/to/image.jpg}}`
|
2020-11-21 03:07:07 +00:00
|
|
|
|
|
|
|
- Choose the output format (default format is text):
|
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`asciiart {{[-f|--format]}} {{text|html}} {{path/to/image.jpg}}`
|
2020-11-21 03:07:07 +00:00
|
|
|
|
|
|
|
- Invert the character map:
|
|
|
|
|
2025-04-27 10:35:40 +03:00
|
|
|
`asciiart {{[-i|--invert-chars]}} {{path/to/image.jpg}}`
|