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?
The authoritative ImageMagick web site is https://imagemagick.org. The authoritative source code repository is https://github.com/ImageMagick/ImageMagick. We continue to maintain the legacy release of ImageMagick, version 6, at https://legacy.imagemagick.org.
ImageMagick is open-source software that is used to create and edit images. It is used to edit bitmap images of 200 formats. It's available for free software that can be used as source code with a ready-run binary distribution feature.
ImageMagick is a free and open source, feature-rich, text-based, and cross-platform image manipulation tool used to create, edit, compose or convert bitmap images. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and many other operating systems.
PythonMagick is the Python binding of the ImageMagick library. ImageMagick® is a free software suite to create, edit, and compose bitmap images. It can read, convert and write images in a large variety of formats.
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
OSX Mavericks seems break the link of jpeg lib. All you need to do is relink the jpeg, then reinstall imagemagick.
brew unlink jpeg brew link jpeg
Then reinstall imagemagick from source
brew uninstall imagemagick brew install imagemagick --build-from-source
Now you can check if jpeg is in the delegate
identify -list configure | grep DELEGATES
It should have jpeg now
DELEGATES bzlib mpeg freetype jng jpeg lcms lzma png tiff xml zlib
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With