Image processor for sprity that uses canvas as its image processing library.
- sprity version >= 1.0
- node-canvas which depends on Cairo.
- Please refer to the installation guide.
- install Cairo
- install sprity-canvas
npm install sprity sprity-canvas
If you want to use the command line interface of sprity
install it globally.
npm install sprity sprity-canvas -g
- png (Default)
- canvas-smoothing: If false disables imageSmoothing on canvas [Default: true]
See sprity documentation