Options (4)
-w, --widthbooleanChoose the output width (default is 100)
Example:
asciiart {{[-w|--width]}} {{50}} {{path/to/image.jpg}}-c, --colorbooleanColorize the ASCII output
Example:
asciiart {{[-c|--color]}} {{path/to/image.jpg}}-f, --formatbooleanChoose the output format (default format is text)
Example:
asciiart {{[-f|--format]}} {{text|html}} {{path/to/image.jpg}}-i, --invert-charsbooleanInvert the character map
Example:
asciiart {{[-i|--invert-chars]}} {{path/to/image.jpg}}Examples (6)
Read an image from a file and print in ASCII
asciiart path/to/image.jpgRead an image from a URL and print in ASCII
asciiart www.example.com/image.jpgChoose the output width (default is 100)
asciiart [-w|--width] 50 path/to/image.jpgColorize the ASCII output
asciiart [-c|--color] path/to/image.jpgChoose the output format (default format is text)
asciiart [-f|--format] text|html path/to/image.jpgInvert the character map
asciiart [-i|--invert-chars] path/to/image.jpgmade by @shridhargupta | data from tldr-pages