ImageMagick and OpenEXR

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
macot392
Posts: 1
Joined: 2012-03-26T11:48:42-07:00
Authentication code: 8675308

ImageMagick and OpenEXR

Post by macot392 »

Hi,

I bought a Qnap NAS which I install the optware plugin to support ipkg packgage on linux. This way, I've installed imageMagick which work normally through PHP, but I would like to know how to add openEXR support to it?

ImageMagick seems to support OpenEXR image, but it relies on "external delegate" to decode this kind of image. This probably means that I need to install the OpenEXR library and than "link" it with ImageMagick.

As I'm a beginner, could someone give me some precise step on how to achieve it.

Thanks in advance for your help.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick and OpenEXR

Post by fmw42 »

The only way I know (on unix) is to download and install the OpenEXR delegate library, then recompile IM from source. If that works,

convert -list configure

should list openexr in the line starting with DELEGATES.

Note however, that IM only supports "half" mode (16 bit) openexr format.

There may be a way to install openexr and then link to the IM binary, but I do not know how to do that.
Post Reply