>From previous conversation about Over:

"> What do we do if we have input images with different number of channels?

Fail.  With one exception: if one of the images lacks an alpha channel, we
can treat it as if its alpha is 1.0 everywhere.  But if the two source
images differ in the number of non-alpha channels, the over operation
should fail."

1. Can I assume that if the image has at least 3 channels, they are RGB, or
if it has at least 4 channels they are RGBA?
2. What should I do for images with channels RGBAZXYZ..., that is, images
with more than 5 channels?
3. What if one image has channels RGBA and the other RGBAZ? I should
preserve the Z channel in the result image, or fail the operation?

Channels being able to take arbitrary names makes things harder. I guess
assumptions like the above will need to be made in many cases.

Stefan
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to