No, let's handle any number of channels for the channel-by-channel case and make no assumptions.
But if you use the lum=1, I think it's ok to assume that the first 3 channels are RGB for the purpose of computing the luminance, and assume that those are the only channels that should be modified. On Jul 25, 2012, at 3:02 PM, Stefan Stavrev wrote: > So we will handle only images up to 5 channels and assume > they are RGBAZ? > -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
