The pull request is here: https://github.com/OpenImageIO/oiio/pull/406
Some Arnold users trying to use monochrome images with alpha were getting colors into their renders. When reading a monochrome image into a 4 channel RGBA buffer, fill_channels would correctly return CCCF (where C is the original gray channel and F is options.fill value) But when reading a monochrome image with alpha, it was turning a CA image into CAFF (where A is the original alpha) This proposed fix conforms a CA image into CCCA when CA is read into an RGBA buffer. Note this also changes the method signature to be able to determine if the read file had alpha or not. (Please check arnold trac #2627 for sample cases) Ramon
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
