Asciimg (pronounced ask-ee-em) is a command line tool that displays images in ASCII.
Assuming that you have already installed npm, in the command line, type either one of the following:
npm install -g asciimg
git clone https://github.com/TheAndroidMaster/Asciimg cd Asciimg npm install
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
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
A Fidget Spinner
The Top Half of a Samsung Galaxy S2