Building ImageMagick with EXR support on Windows

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
jon.wolf

Building ImageMagick with EXR support on Windows

Post by jon.wolf »

I am trying to build ImageMagick with EXR support on windows, and running into some difficulties.

I downloaded and followed the instructions to build openEXR, and I've succesfully built ImageMagick. In anotherthread, the instructions given were to "download and install the EXR delegate"

I'm not sure what is meant by this, or how to accomplish it. I have the built EXR binaries, just not sure what needs to be put where, or any other steps that need to be taken.

thanks for the help!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Building ImageMagick with EXR support on Windows

Post by magick »

We've never tried to build EXR so we cannot be of much help other than to suggest you use the existing model for supporting delegate libraries. Unpack EXR in the top level ImageMagick folder and rename it exr. Now set up a exr folder in VisualMagick based on one of the other delegate library folders. Now run the configure program. It should build a VisualStudio project that includes a build environment for EXR. You may need to modify configure.cpp to link the EXR library to the ImageMagick EXR coder module or you can do that manually with the Visual Studio IDE.
jon.wolf

Re: Building ImageMagick with EXR support on Windows

Post by jon.wolf »

EXR is on the supported formats list, so I assumed that there was at least some support?

The High Dynamic Range page states "You must have the OpenEXR delegate library installed to read or write this format." Which would seem to imply that there is a way of doing it?
Last edited by jon.wolf on 2009-09-29T12:37:44-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Building ImageMagick with EXR support on Windows

Post by magick »

EXR is supported because a coder module is available to read and write the format. In all there are over 20 possible delegate libraries. We could not possibly support ImageMagick, and in addition, the delegate libraries and all the possible combinations of OS's (Windows, Mac, Unix, Linux, FreeBSD, etc.) and compilers (gcc, xlc, llvm, etc), etc. Fortunately under Linux there is generally an RPM for each delegate format. You simply install the RPM and ImageMagick automatically detects and installs support for the particular delegate library. For that matter, ImageMagick generally comes pre-installed with support for most delegate libraries under Linux. It is generally equally easy under Mac OS X with Mac Ports. Windows has always been problematic because of their insistence on proprietary methods rather than open standards. The long and short of this is that you are on your own getting EXR working with ImageMagick under Windows unless another discourse user happens to post with advice.
Post Reply