Page 1 of 1

Packaging an application that uses the ImageMagick C API

Posted: 2019-01-04T03:55:48-07:00
by Alicia105
I've created a little Windows app that uses the ImageMagick C API but have run into a bit of a brick wall. The app works fine and I'm ready to share it with a few others in our organisation but I can't find documentation on distributing such an app without installing ImageMagick on the target machine.

Does anyone here have information, or a link to information, that details how to package this up for distribution? What DLLs are required and which one(s) need to registered with Windows? The target users will be on a mix of XP and Win7.

Re: Packaging an application that uses the ImageMagick C API

Posted: 2019-01-08T16:39:50-07:00
by rodlie
You should do a custom build of ImageMagick for the targeted platform (XP in your case), I recommend doing a static build with zero-conf enabled. You should not deploy an application depending on the official DLL's in my opinion, but if you do, it works as with any application you deploy on Windows... include the required DLL's in the same folder as the EXE (if you don't know what your EXE depend on use Dependency Walker or something similar).