Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageMagick getters not working #305

Open
maxwang7 opened this issue Jul 20, 2014 · 3 comments
Open

ImageMagick getters not working #305

maxwang7 opened this issue Jul 20, 2014 · 3 comments

Comments

@maxwang7
Copy link

I have tried using the ImageMagick flavor of gm with multiple getters, but they don't seem to be working. One example is given below:

imageMagick(image_file).size(function(err, size) {
if(err) {
console.log(err);
}
if(!err) {
console.log(size);
}
});

The following error is printed to the console (same as the errors for the other getter methods):

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

I have tried other, non-getter methods, and they have worked correctly as far as I can tell. I switched to using the GraphicsMagick flavor of gm, and they are working correctly, but because I want to deploy on Heroku, I am unsure as to whether I will have that package available.
Thank you for your help (and making this awesome package!)

@rwky
Copy link
Contributor

rwky commented Jul 30, 2014

It looks like you don't have image magick installed, can you check?

@maxwang7
Copy link
Author

I downloaded imagemagick using home brew. I just checked it using the command:
brew search imagemagick
And was returned the following two directories:
imagemagick imagemagick-ruby186

@rwky
Copy link
Contributor

rwky commented Jul 31, 2014

brew search lists the available packages not the installed ones what does brew list imagemagick return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants