Introduction
Repository
https://github.com/songxc/image-proc-cairo
Dependencies
Demo
Visit after start service.
- Presentation:http://127.0.0.1:3000/demo/blur/index.html
- Generator:http://127.0.0.1:3000/demo/blur/tool.html
API
|
|
Deploy
Initialize
- express:
npm install express --save
- express-generator:
npm install express-generator -g
- yeoman:
npm install yo -g
yo express
Update
- Update Homebrew:
brew update
- Update Software:
brew upgrade
- Install wget:
brew install wget
Install
- Cairo:
brew install pkg-config cairo libpng jpeg giflib
(For Mac) - Canvas:
npm install canvas
- nodemon:
npm install nodemon -g
npm install
Start
nodemon ./bin/www
Reference
Express
Which library should I use for server-side image manipulation on Node.JS?
How do I interact with thisobject in a node.js stream?