1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ascii-image-converter.md

29 lines
934 B
Markdown
Raw Normal View History

# ascii-image-converter
> Convert an image into ASCII.
> More information: <https://github.com/TheZoraiz/ascii-image-converter#cli-usage>.
- Convert an image into ASCII:
`ascii-image-converter {{path/to/image|URL}}`
- Colorize the output:
`ascii-image-converter {{[-C|--color]}} {{path/to/image|URL}}`
- Create a tresholded image using braille (if the image is barely visible, try changing the terminal font):
`ascii-image-converter {{[-b|--braille]}} {{path/to/image|URL}}`
- Create a dithered image using braille (if the image is barely visible, try changing the terminal font):
`ascii-image-converter {{[-b|--braille]}} --dither {{path/to/image|URL}}`
- Display the image with negative colors:
`ascii-image-converter {{[-Cn|--color --negative]}} {{path/to/image|URL}}`
- Use a wider range of characters to display an image (may improve image accuracy):
`ascii-image-converter {{[-c|--complex]}} {{path/to/image|URL}}`