Page 1 of 1

OpenEXR on 32 bit Windows not working

Posted: 2011-01-03T10:55:13-07:00
by rex666
Hi

I am building ImageMagick with OpenEXR support for 32 bit Windows from source. I have successfully built OpenEXR. I have pointed the EXR delegate build to the libraries and set the #define MAGICKCORE_OPENEXR_DELEGATE. I have also used #define MAGICKCORE_HDRI_SUPPORT. Everything compiles and links and builds successfully. However, I can't seem to get it to recognize the delegate. If I list the configuration, openexr does not show up:
  • C:\> convert-list configure
    ...
    DELEGATES bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
    ...
And if I list the image types (convert -list format), I don't see any entry for EXR.

What am I doing wrong? How can I get the delegate to be correctly recognized? Does anyone have ImageMagick with OpenEXR built for 32 bit Windows already?

Thank you for any help you can provide. Thanks,
-robin

Re: OpenEXR on 32 bit Windows not working

Posted: 2011-01-06T18:28:15-07:00
by rex666
I have tried rebuilding everything from scratch. Interestingly, if I don't #define MAGICKCORE_OPENEXR_DELEGATE, when I run convert -list format, I see the EXR format, but cannot read or write it:

Code: Select all

...
      ERF  DNG       r--   Epson RAW Format
      EXR  EXR       ---   High Dynamic-range (HDR)
     FITS* FITS      rw-   Flexible Image Transport System
...
As soon as I set that #define, the library component builds correctly, but then the EXR format just disappears totally from the list of formats supported:

Code: Select all

...
      ERF  DNG       r--   Epson RAW Format
     FITS* FITS      rw-   Flexible Image Transport System
...
This doesn't make any sense. Why would the image type disappear completely? How can I debug what is causing this? No matter what I do I cannot get the openexr entry to appear in the list of delegates displayed using identify -list configure.

Is there anyone out there that has managed to successfully build ImageMagick with OpenEXR support for 32 bit Windows?

Thank you for any help you can provide
-robin

Re: OpenEXR on 32 bit Windows not working

Posted: 2011-01-06T19:09:51-07:00
by fmw42
I am not a Windows user, but have OpenEXR working on a Mac. But note that IM only implemented the "half" or 16-bit mode for EXR.

Re: OpenEXR on 32 bit Windows not working

Posted: 2011-01-14T14:28:35-07:00
by rex666
I managed to get it working. I don't know what I was doing wrong last time, but starting over, and following all instructions got it working. Good news to anyone out there: It is possible to get it working.

Good luck
-robin