asciiart

Convert images to ASCII.

TLDR

Read an image from a file and print in ASCII

$ asciiart [path/to/image.jpg]
copy


Read an image from a URL and print in ASCII
$ asciiart [www.example.com/image.jpg]
copy


Choose the output width (default is 100)
$ asciiart --width [50] [path/to/image.jpg]
copy


Colorize the ASCII output
$ asciiart --color [path/to/image.jpg]
copy


Choose the output format (default format is text)
$ asciiart --format [text|html] [path/to/image.jpg]
copy


Invert the character map
$ asciiart --invert-chars [path/to/image.jpg]
copy

SYNOPSIS

asciiart [options] <path_or_url>

DESCRIPTION

asciiart is a command line tool to turn images into ASCII art. It can also be used as a library in Ruby programs.

OPTIONS

-w, --width WIDTH Width of the finished Ascii Art (Default: 100)

-f, --format [text/html] output format (Default: text)

-c, --color Switch to use colored terminal output (Default: false)

-i, --invert-chars Invert the character map. Depending on your terminal and image this can make the image clearer (or a lot worse)

-v, --version print asciiart version.

-h, --help show this message.

Copied to clipboard