IonicaBizau / image-to-ascii

:floppy_disk: A Node.js module that converts images to ASCII art.
http://ionicabizau.net/blog/16
MIT License
1.58k stars 106 forks source link

Getting ascii escape codes for each color #51

Closed TheLarkInn closed 6 years ago

TheLarkInn commented 7 years ago

I'm building an npm module that I'd like to display an image that I have processed into ASCII. However I don't want users to have to depend on any of the C/C++ image binaries. Is there a way this node module can produce the ASCII escape codes of the string so that I can print this to console manually stored.

IonicaBizau commented 7 years ago

Umm... I don't know any. If you do find something which is cross-platform, let me know. The best I used is graphicsmagick.

One way would be to download the graphicsmagick binaries when doing npm install, depending on the platform.