Hi, So I'm having an issue with the ociodisplay method in python; I'm wondering if the problem is caused because I don't know how to properly use it or if it's broken.
If i use this function on an image (buffer) that only contains RGB channels, it yields the expected result. On the other hand, if I pass a buffer that contains RGBA, then the output colors gets shifted in unexpected ways in RGB. It's seems to only affect areas where the alpha is not fully transparent or fully opaque. This behavior does not happen in Nuke for example. Am I suppose to copy RGB (and I'm assuming other extra channels) in an different buffer stripped of the alpha, then process this new buffer in ociodisplay, and then merge all needed channel in a final buffer before outputting? I have prepared a package with source files and results from OIIO and expected result output from Nuke. A Nuke script and a python snippet is also included. Let me know if you need that or if you need more details. Using: OpenImageIO 2.0.12 on centos 7 Thanks in advance! Cheers, Etienne
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org