gm icon indicating copy to clipboard operation
gm copied to clipboard

All images throw error..

Open pjobson opened this issue 12 years ago • 2 comments

All images I try to use throw this:

{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }

Just tried the google logo: https://www.google.com/images/srpr/logo11w.png

var gm = require('gm');
gm('./logo11w.png').size(function(err,data) {
    console.log(err);
});

node: v0.10.26 npm: 1.4.3 imagemagick (via homebrew): 6.8.8-9

pjobson avatar Apr 10 '14 22:04 pjobson

Installing graphicsmagick make it working:

$> brew install graphicsmagick

motammi avatar Apr 15 '14 14:04 motammi

or set it to imagemagick

jonathanong avatar Apr 19 '14 15:04 jonathanong