Skip to content

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

Notifications You must be signed in to change notification settings

timboslice69/node-gm-bin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-gm-bin Build Status

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

GraphicsMagick is the swiss army knife of image processing.

Install

Install with npm: npm install --save gm-bin

Example usage

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

execFile(gmPath, ['identify', 'foo.png'], function(err, stdout, stderr) {
    console.log('file details:', stdout);
});

Can also be run directly from ./node_modules/.bin/gm-bin.

License

gm licensed under an MIT license.

MIT

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published