Use ImageMagick as component without installing

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
umaprasad
Posts: 1
Joined: 2015-05-13T23:21:56-07:00
Authentication code: 6789

Use ImageMagick as component without installing

Post by umaprasad »

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
Post Reply