Use ImageMagick as component without installing
Posted: 2015-05-13T23:39:06-07:00
I am developing a java application where i require image conversion. So i want to use imageMagick for that.
I made a java program using jmagick.jar in classpath and then installed imageMagick. Then the program was running as expected. But i want to pack imageMagick component in my application, so separate installation should not be done.
So i copied the program files from original place to somewhere else and uninstall imageMagick. Then Ii gave JVM argument as -Djava.library.path="F:\\ImageMagick-6.3.9-Q16\\"
So i am getting error as Exception in thread "main" java.lang.UnsatisfiedLinkError: F:\ImageMagick-6.3.9-Q16\jmagick.dll: Can't find dependent libraries
So please tell me how and where to give dependent libraries path in program and how to use imageMagick without installing. I tried searching through web. but didn't get any useful information
I made a java program using jmagick.jar in classpath and then installed imageMagick. Then the program was running as expected. But i want to pack imageMagick component in my application, so separate installation should not be done.
So i copied the program files from original place to somewhere else and uninstall imageMagick. Then Ii gave JVM argument as -Djava.library.path="F:\\ImageMagick-6.3.9-Q16\\"
So i am getting error as Exception in thread "main" java.lang.UnsatisfiedLinkError: F:\ImageMagick-6.3.9-Q16\jmagick.dll: Can't find dependent libraries
So please tell me how and where to give dependent libraries path in program and how to use imageMagick without installing. I tried searching through web. but didn't get any useful information