Page 1 of 1

OpenEXR images with linear and non-linear gamma look the same

Posted: Wed Nov 16, 2022 6:00 pm
by zazik
Hello,
I have two FP16 .exr images with exact same data but one with linear gamma flag and the other one without.

Linear flag is shown in Image->Properties->ExifTool->OpenEXR as
"Channels: B half linear 1 1, G half linear 1 1, R half linear 1 1".

And the one without it
"Channels: B half 1 1, G half 1 1, R half 1 1".

They both look the same in XnViewMP, and, intuitively, I think they shouldn't.
I guess, Format setting->Read->OpenEXR->Gamma is used for both images but it should only be used for non-linear ones.

Is there any way to remediate this by taking into account linear flag set in the file?

Thank you.

Re: OpenEXR images with linear and non-linear gamma look the same

Posted: Fri Nov 18, 2022 8:03 am
by xnview
could you send me the 2 sample files? Currently there is no way

Re: OpenEXR images with linear and non-linear gamma look the same

Posted: Fri Nov 18, 2022 6:49 pm
by zazik
Sure thing, attached.
Also, EXR (AFAIK) only supports 32-bit integer format, but ExifTool reports it as "int8u" and XnView produces black picture, UINT samples attached too.
Thank you.