Skip to content

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

Notifications You must be signed in to change notification settings

enricruiz/ansify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages