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.
no, the channel names have no appendix, the name is just gray1,
gray2 and so on.
The layers are mixed, so the stacking is like this
rgba1.B, rgba1.G, rgba1.R, rgba2.B, rgba2.G, rgba2.R, gray1,
rgba3.B, rgba3.G, rgba3.R, grau2 and so on.
Gerhard
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.
|