2.0.2 • Published 6 years ago

waterimage v2.0.2

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
6 years ago

waterImage

Quickly convert image to high quality ascii

I have create this package for the Water Panther WebBrowser project.

Usage

You need NodeJS and GraphicsMagick to run it

You just have to run npm install waterimage and then npm test or npm start examples/paysage.jpg

After the image name you can precise the image depth, between 2 and 8. Lower values are quicker, higher value are prettiest. Ma favorite value is 4, the better quality/speed ratio.

Important to know

This package is made to be used in console. The ascii image can only be rendered in a console, because of using terminal color tags.

This package work with jpg, png, gif (for gif you need to precise wich frame need to be converted, by adding [x], where x is the frame number (starting at 0) after the filename)

Why the image quality is good

This script take advantage on the others ascii converters because it use a special char who take the bottom of the character space, and let see the background color on top of the character place. That let me able to show two color per character place. That give better quality because that let us able to have twice more "pixels" in height :-)

Donate

You can make me a donation to support my work :

land

become

ASCIIland

katheryn

become

ASCIIkatheryn

privateinvestocat

become

ASCIIprivateinvestocat

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago