Wizardry is a task-based library for GraphicsMagick / ImageMagick that focuses on simplicity and getting one thing done right: processing images.
Before installing the module, you will need either GraphicsMagick or ImageMagick installed. If you use homebrew, it can be even simpler, with either just
brew install graphicsmagick or
brew install imagemagick. GraphicsMagick is recommended, as wizardry uses GraphicsMagick by default. After one of them is installed, run:
npm install wizardry
var wizardry = ;var task =// Easy as one line.;
Wizardry requires an array of image(s) to process. It expects that they are valid file paths.
wizardry -i path/to/image.png -t path/to/your/task.json