New In This Version: Colorized output!
a = AsciiArt.new("/Users/sschor/Desktop/uncle_larry.jpg")
=> ...untold glory follows
puts a.to_ascii_art(color: true)
=> ...now you're cooking with gas
From The Command Line using the 'asciiart' executable:
$ asciiart ~/Desktop/uncle_larry.jpgor even
$ asciiart -h
Usage: asciiart [options] <path_or_url>
-w, --width WIDTH Width of the finished Ascii Art (Default: 100)
-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 Show AsciiArt version
-h, --help Show this message
It relies on rmagick, so...you know...make sure your have imagemagick installed.
Many thanks to our employer, Eastmedia, for allowing us to develop this on the company dime.
Please use, file issues, and fork away.
Andrew, Ross, & Stephen from Eastmedia