What are your channels called? (perhaps send the channel list output from exrheader)

If your channels are named something like:
gray1.A
gray2.A

you may be able to use RgbaInputFile specifying gray1 or gray2 as a layer name. To read all three layers, you'd have to read the file three times. In any case, the best approach would be to use the general interface for reading an image file, rather than the Rgba interface. The "ReadingAndWritingImageFiles" PDF gives examples of this. This would allow you to read all the layers you want in one go.



On 06/11/13 20:35, Gerhard Huber wrote:
Hi,

I have here a EXR file that contains RGBA layers and Gray layers.
Should it be possible to read such files with the lib?
I tried with an RgbaInputFile and an MultiPartInputFile, both didn't read the gray layers.

Gerhard



_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel



_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to