I am trying to load an EXR file generated by ZBrush, and loading it raises the following warning:
Warning: loading color model R as Y color model
And more importantly, the loaded image is filled with 0's.
This happens with all EXR produced by ZBrush. Software like Photoshop and djv_view have no problem opening it.
The image is a single channel (only 'R' channel) float 32 image, I have attached one to this ticket.
The issue was originally suspected to come from python's imageio module, but it seems the wrapper is not at fault here.
Any idea of what is going here, and/or a possible workaround using a flag or similar ?
Thank you a lot for your help
Is this project still maintained ?
The bug is really silly. FreeImage expects single and duo channel images to be named "Y" ("gray/luminance") or "Yx" (x being any other channel that will be ignored) .
Your image has a single channel named "R" as no channel Y is found and black is filled. Really silly, the fix is trivial - we can preserve the original channel name and request that. Now, a point must be made OpenEXR should have thrown some warning there is not such channel.