asciimg

1.0.2 • Public • Published

Asciimg 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

Readme

Keywords

Package Sidebar

Install

npm i asciimg

Weekly Downloads

0

Version

1.0.2

License

Apache-2.0

Unpacked Size

1.76 MB

Total Files

5

Last publish

Collaborators

  • fennifith