sprity-canvas
v1.0.2
Published
node-canvas image processing engine for sprity
Downloads
3
Maintainers
Readme
sprity-canvas
Image processor for sprity that uses canvas as its image processing library.
Requirements
- sprity version >= 1.0
- node-canvas which depends on Cairo.
- Please refer to the installation guide.
Install
- 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
Supported image formats
- png (Default)
Options
- canvas-smoothing: If false disables imageSmoothing on canvas [Default: true]
Usage
See sprity documentation