Hi guys. I've got a few questions about channels.
1) I'm not sure what to do with these channels in PSD layers: -Transparency. Should I just tack this on the end and call it A? -Layer mask. This is the full layer mask. It may include a rasterized vector mask (the vector mask points are stored in an image resource). -User mask. This is present when there is a layer mask _and_ a vector mask. It contains only the non-vector portion of the mask. I'm attaching some example images to make it clear what these are. (hope attachments are ok on the mailing list) 2) Just to be clear, are channel names supposed to be set to the channels stored in the image? I mean, it's my understanding that all image data in oiio is passed around as RGB. So the actual data may be RGB but the channel names may be CMYK? Is this correct? 3) Building on #2, are ImageSpecs mainly hints at the format of the data as it is stored on the disk? So, for example, if an image contains 6 channels (RGB,Transparency,Lmask,Umask), ImageSpec::nchannels should still be 6 even if we were to completely ignore some of the channels?
<<attachment: composite.png>>
<<attachment: Layer 1.layer mask.png>>
<<attachment: Layer 1.png>>
<<attachment: Layer 1.user mask.png>>
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
