0.1.0 • Published 11 years ago

gm-bin v0.1.0

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

node-gm-bin Build Status

GraphicsMagick Node.js wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows.

Example usage

var execFile = require('child_process').execFile;
var binPath = require('gm-bin').path;

execFile(binPath, 'composite -compose CopyGreen green.png red.png red-green.png'.split(/\s+/), function(err, stdout, stderr) {
    // balabala...
});

You can also run it directly from ./node_modules/.bin/gm-bin

GraphicsMagick Utilities

License

MIT