1.0.3 • Published 9 years ago
sprity--gm v1.0.3
sprity-gm
Image processor for sprity that uses gm as its image processing library.
Requirements
- sprity version >= 1.0
- gm which depends on GraphicsMagick or ImageMagick.
- Please refer to the installation guide.
Install
- install GraphicsMagick or ImageMagick
- install sprity-gm
npm install sprity sprity-gm
Install sprity-gm globally if you want to use sprity's
command line interface
npm install sprity sprity-gm -g
Supported image formats
- png (Default)
- jpg
- gif
Other formats supported by GraphicsMagick or ImageMagick may also work.
Options
- gm-use-imagemagick: use ImageMagick instead of GraphicsMagick Default: false
- gm-units see http://www.graphicsmagick.org/GraphicsMagick.html#details-units
- gm-depth see http://www.graphicsmagick.org/GraphicsMagick.html#details-treedepth
Usage
See sprity documentation
1.0.3
9 years ago