README
pixelart
Display pixelart processed image in terminal, a CLI tool for to-pixel
An image is worth a thousand words:
Install
Currently only test in Mac OS X,to use this tool,you may use iTerm 2.9+.
Also this cli tool use node-canvas to render,so you need to install node-canvas's dependencies
After above step were done,is time to continue...:
npm install -g pixelart
Feature
- png
- jpeg
- URL
Usage
pixelart /path/to/image
term-img options is supported.like:
pixelart /path/to/image --width=50
API
pixel [Number]
scale pixel level
Thanks
Known issues
Image given has not completed loading?
try
brew uninstall jpeg && brew install jpeg
then, reinstall node-canvas
npm install canvas
or other strange bugs?
Just try reinstall all dependences which node-canvas
repo noted
On OS X,you can try
brew uninstall pkg-config cairo libpng jpeg giflib
then
brew install pkg-config cairo libpng jpeg giflib
then, reinstall node-canvas
npm install canvas