Project

ansify

0.0
No commit activity in last 3 years
No release in over 3 years
A command-line tool to convert PNG images to ANSI escape codes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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