Links

GitHub Issues Documentation Apache License 2.0 npm

Contributors

TheAndroidMaster

Asciimg

git://github.com/TheAndroidMaster/Asciimg.git

Asciimg (pronounced ask-ee-em) is a command line tool that displays images in ASCII.

Installation

Assuming that you have already installed npm, in the command line, type either one of the following:

NPM

npm install -g asciimg

From Source

git clone https://github.com/TheAndroidMaster/Asciimg
cd Asciimg
npm install

Usage

asciimg <image>

Or, to change the dimensions:

asciimg <image> -h [height] -w [width]

If either the height or width is not specified, asciimg will pick the value that maintains the correct aspect ratio.

If your command line supports rgb color values:

asciimg <image> --usergb

Sample Images

The ‘test.png’ included in the repository is over 4000000 pixels in size, so it will take a while for the tool to convert it. Here are screenshots of the result of that and a few other images:

My Profile Picture

img

A Fidget Spinner

Why not.

img

The Top Half of a Samsung Galaxy S2

img

This site may do shady things with cookies and stuff because it's evil. Please don't read my privacy policy. close