What are the required distributables for ImageMagick?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dsearles

What are the required distributables for ImageMagick?

Post by dsearles »

I'm developing a Java application which uses JMagick (and therefore ImageMagick). I would like the end-user to NOT have to install ImageMagick along with my application.

Is it possible to simply distribute the DLLs (and whatever other files are required) with my application and have it function properly? I've tried including the DLLs, the config folder and the modules folder but still get errors (the application works fine when using the "installed" ImageMagick but NOT when I rename the ImageMagick install directory to "logically remove" it's DLLs from the PATH), The DLLs ARE being found (no loader errors) but JMagick is unable to get an image handle (again, it works fine against the "installed" ImageMagick).

Any help would be greatly appreciated! Thanks in advance.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: What are the required distributables for ImageMagick?

Post by magick »

Build ImageMagick from the Windows source distribution. Choose the static multi-threaded build from the configure application. You do not need to change any of the magick configuration options other than setting the quantum depth to 8 if you prefer (the default is 16). After the build, move all the files in the VisualMagick/bin folder into a single folder within your distribution. ImageMagick will automatically check this folder for all its dependancies at execution time.
dsearles

Re: What are the required distributables for ImageMagick?

Post by dsearles »

Great! Thanks!
manojmka

Re: What are the required distributables for ImageMagick?

Post by manojmka »

But for development when I try to link against the libs in VisualMagick/Lib/*.ilb files, it gives linking errors because the include files in magick++ declare all the classes with declspec!!
Post Reply