addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

[ANN] asciiart [0.0.5] released

From: Stephen S.
Sent on: Saturday, February 2, 2013 6:04 PM
Turn images on your heard drive or on the internet to asciiart...even colorized asciiart.

New In This Version: Colorized output!

In Code:

require 'asciiart'

a ="/Users/sschor/Desktop/uncle_larry.jpg")
puts a.to_ascii_art
=> ...untold glory follows
puts a.to_ascii_art(color: true)
=> 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, 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

Our Sponsors

  • Pivotal Labs

    Provides the awesome event space we use every month!

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy