Hi,

I jump on this thread to bump a topic mentionned a few months back: adding tags in tiffs to be able to store extra channels names.
Is it planned ?

Back to the initial question: in Clarisse we ignore the names supplied but the file (in case of single channel file) and let the user decide how data is interpreted. He can either choose:
- 'L' : luminance => grayscale
- 'A' : alpha
- 'LA': we duplicate the data so we have both Luminance and alpha.
- 'use name':  for aovs, use the name supplied, store it in 'R' otherwise.
I mention this because I don't think the name matters much, the user have to know what he wants to do with the file: it could be an alpha mask, a grayscale image, or even an AOV.

On 06/15/2016 06:41 AM, Larry Gritz wrote:
Very few file formats support explicit naming of channels in the files. For 
those that don't (i.e., everything but OpenEXR and a couple other stragglers), 
we impose a convention:

* 1 channel is called A.
* 2 channels are I, A.
* 3 channels are R, G, B
* 4 channels are R, G, B, A
* >4 channels are R, G, B, A, channel4, channel5, ...

I'm concerned now about the 1 and 2 channel cases. "A" is a special name, and 
designates a channel as alpha, and there are a variety of places where where alpha is 
treated specially.

So I want to revisit the conventions for naming channels of 1 and 2 channel 
images, for formats that don't supply channel names in the file.

Suggestions? What's the best name for a single channel image?

R?  Y?  I (for intensity)?  Grey? (ugh, gray?)


--
Larry Gritz
[email protected]


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


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

Reply via email to