EXR/HDR files and COLORMODE

On 21/03/2013 at 03:47, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   14 
Platform:      
Language(s) :     C++  ;

---------
I am loading an ARGB floating point EXR (or HDR) file into a multipass bitmap.

When I query the color-mode with GetParmeter(MPBTYPE_COLORMODE) it returns COLORMODE_RGBf. I was rather expecting it to return COLORMODE_ARGBf though as this is the format of the file.

Is the EXR/HDR importer pre-multiplying the alpha channels on loading or something similar?

-Simon

On 08/04/2013 at 04:17, xxxxxxxx wrote:

Hi Simon,

Usually Alpha channels are stored separately.
To get the Alpha information from the multipass bitmap you can query the alpha layers with GetAlphaLayerCount()/GetAlphaLayerNum()/GetLayers().

Sorry for the late reply.