Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A command-line tool to convert images to ANSI escape codes.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
examples Updated output.png and ansi file output
README.md
Rakefile
ansify.gemspec

README.md

ansify

A command-line tool to convert images to ANSI escape codes.

Installation

gem install ansify

Usage

> ansify --help
ansify v0.0.2
Options:
   --image, -i <s>:   Image to ansify
   --scale, -s <f>:   Scale factor
    --sampling, -a:   Scale image using pixel sampling
  --output, -o <s>:   Output file
     --version, -v:   Print version and exit
        --help, -h:   Show this message

Try this

ansify --image https://github.com/enricruiz/ansify/raw/master/examples/nyan.png

ansify --image https://github.com/enricruiz/ansify/raw/master/examples/nyan.png --scale 0.5

ansify --image https://github.com/enricruiz/ansify/raw/master/examples/nyan.png --scale 0.5 --sampling

Example output

ansi

Something went wrong with that request. Please try again.