The asciiart gem is a way to convert local files or URLs into command
line
asciiart.
*In Code:*
require 'asciiart'
a = AsciiArt.new("/Users/sschor/Desktop/uncle_larry.jpg")
=> #<AsciiArt:0x00000100878678
@file=#<File:/Users/sschor/Desktop/uncle_larry.jpg>>
puts a.to_ascii_art
=> ...untold glory follows
*From The Command Line using the 'asciiart' executable:*
$ asciiart ~/Desktop/uncle_larry.jpg
or even
$ asciiart http://www.google.com/images/srpr/logo3w.png
*Dependencies:*
It relies on rmagick, so...you know...make sure your have imagemagick
installed.
*Where:*
Github: https://github.com/eastmedia/asciiart
Rubygems: http://rubygems.org/gems/asciiart
*Thanks:*
Many thanks to our employer, Eastmedia, for allowing us to develop this
on
the company dime.
Please use, file issues, and fork away.
on 2013-01-24 18:51
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.