Every time when I try to run im4java in my java app got this error:
org.im4java.core.CommandException: org.im4java.core.CommandException: dyld: Library not loaded: /ImageMagick-6.7.7/lib/libMagickCore.5.dylib
at org.im4java.core.ImageCommand.run(ImageCommand.java:219)
at Main.main(Main.java:55)
Caused by: org.im4java.core.CommandException: dyld: Library not loaded: /ImageMagick-6.7.7/lib/libMagickCore.5.dylib
at org.im4java.core.ImageCommand.finished(ImageCommand.java:253)
at org.im4java.process.ProcessStarter.run(ProcessStarter.java:314)
at org.im4java.core.ImageCommand.run(ImageCommand.java:215)
... 1 more
My system is Mac OS X Lion 10.7.4 (11E53) and ImageMagic is installed and working properly from command line, but not in Java.
Only thing what I changing is:
String myPath= "**************/ImageMagick/ImageMagick-6.7.7/bin";
ProcessStarter.setGlobalSearchPath(myPath);
Thats why its finding convert, but not library. Don't know what to do...