Adds utility tasks for grunt to access ImageMagick via the node_imagemagick package. You will need to have image magick CLI tools installed as described in the node_imagemagick readme. see node-imagemagick
Install this grunt plugin next to your project's grunt.js gruntfile with:
npm install grunt-imagemagick
Then add this line to your project's
imagemagick-convert Use the args property to identify the list of arguments to pass to ImageMagick's convert command.
imagemagick-resize The following properties are valid:
imagemagick-hisrc This is a little utility task which runs over a set of image files and creates three sizes of each using a specified naming convention. This is great for auto-generating the three image sizes accepted by HiSRC. The following properties are valid:
If you have any questions, feel free to ask, if you have any ideas, feel free to contribute a pull :)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
0.1.4 First functional build on NPM 0.1.5 Added documentation
Copyright (c) 2012 Arne Strout
Licensed under the MIT license.