When trying to run ImageMagick via node-imagemagick on my Grunt task, i get this error from ImageMagick:
Warning: Command failed: identify: unable to load module
/usr/local/Cellar/imagemagick/6.8.8-9/lib/ImageMagick//modules-Q16/coders/jpeg.la': file not found @ error/module.c/OpenModule/1275. identify: no decode delegate for this image format
inventaire/videos/OFF_Arrestation joueur_14_petit.jpg' @ error/constitute.c/ReadImage/501. Use --force to continue.
Why is ImageMagick trying to load JPG coder at /usr/local/Cellar/imagemagick/6.8.8-9/lib/ImageMagick//modules-Q16/coders/jpeg.la
? Why the double slash after ImageMagick//
?
This grunt script run perfectly on OSX 10.8 and now fail on 10.9.2. Anyone know a way to fix it?
I came across this issue too when upgrading from Mt.Lion to Mavericks. I found an issue in homebrew's github repo. The fix that worked for me was:
$ brew uninstall imagemagick
$ brew install imagemagick --build-from-source