Re: High-quality reduction of HDR images to 24-bit color
Posted: 2007-07-23T11:35:34-07:00
We choose the OpenEXR C interface simply because ImageMagick is designed to compile with a C compiler. If we include a C++ interface to OpenEXR it would mean we could not include OpenEXR support unless ImageMagick was compiled with a C++ compiler. Or perhaps we could support both methods and decide which one to use based on the __cplusplus preprocessor symbol. Another method would be to build a reader/writer for the EXR format directly into Magick++ which is C++ coder. Yet another method would be to write a delegate program that converts EXR into a format understood by ImageMagick and set the appropriate tag in the delegates.xml configuration file. You are welcome to try any of these methods and post your results here. If you find a reasonable solution we would consider adding it to the ImageMagick distribution in the future.