asset->width = dw.max.x - dw.min.x + 1;
asset->height = dw.max.y - dw.min.y + 1;
- asset->interlace_mode = BC_ILACE_MODE_NOTINTERLACED;
+ asset->interlace_mode = ILACE_MODE_NOTINTERLACED;
const Imf::ChannelList &channels = file.header().channels();
native_cmodel = BC_RGBA_FLOAT;
else
native_cmodel = BC_RGB_FLOAT;
+ asset->exr_use_alpha = BC_CModels::has_alpha(native_cmodel) ? 1 : 0;
if(channels.findChannel("Y"))
is_yuv = 1;