Re: Gray layers

Piotr Stanczyk <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <95F01873F66DA54DAD2734EEBF98F86C0110993F1C@mailbox09.lucas.alllucas.com>
Hi,

I may be a little confused here, but if you take a look at the exrheader source code, that should give you a good overview of the ChannelList iterator as it uses that to print out the channel names to stdout.

Let me know if this doesn't work for you.

- Piotr
________________________________
From: Gerhard Huber [[email protected]]
Sent: 07 November 2013 06:25
To: Piotr Stanczyk; Peter Hillman
Cc: OpenEXR Devel List
Subject: Re: [Openexr-devel] Gray layers

Hi,

As Peter points out. You should be able to read this file just fine.  You will have to introspect the file to work exactly what channels are present, names & data types,  and insert the corresponding slices.
You should be able to use the InputFile class to read your data.

OK, I should use InputFile to read the picture.
But am I right, that the ChannelList Iterator doesn't "use" layers with a name without "."?
So I have to patch ImfChannelList or write my own?

Gerhard

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.