sprity-gm
v1.0.2
Published
gm image processing engine for sprity
Downloads
185
Maintainers
Readme
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]
Usage
See sprity documentation