Loss of layer names in GetChannelsInMultiPartFile()
Phil Barrett <[email protected]> Tue, 13 Sep 2016 15:25:37 +0100
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Organization | FilmLight Ltd |
| Message-ID | <[email protected]> |
Hi there
I'm the developer responsible for OpenEXR reading and writing in
Baselight.
It looks like layer names are being lost in the output of
GetChannelsInMultiPartFile() when reading multi-part files (at least,
those written by Nuke).
exrheader shows
part 0:
channels (type chlist):
blue, 16-bit floating-point, sampling 1 1
green, 16-bit floating-point, sampling 1 1
red, 16-bit floating-point, sampling 1 1
name (type string): "layer1.main"
view (type string): "main"
part 1:
channels (type chlist):
blue, 16-bit floating-point, sampling 1 1
green, 16-bit floating-point, sampling 1 1
red, 16-bit floating-point, sampling 1 1
name (type string): "layer2.main"
view (type string): "main"
part 2:
channels (type chlist):
blue, 16-bit floating-point, sampling 1 1
green, 16-bit floating-point, sampling 1 1
red, 16-bit floating-point, sampling 1 1
name (type string): "layer3.main"
view (type string): "main"
but GetChannelsInMultiPartFile() gives me
Channel 'blue' view 'main' part 0 internal 'blue' layer ''
Channel 'green' view 'main' part 0 internal 'green' layer ''
Channel 'red' view 'main' part 0 internal 'red' layer ''
Channel 'blue' view 'main' part 1 internal 'blue' layer ''
Channel 'green' view 'main' part 1 internal 'green' layer ''
Channel 'red' view 'main' part 1 internal 'red' layer ''
Channel 'blue' view 'main' part 2 internal 'blue' layer ''
Channel 'green' view 'main' part 2 internal 'green' layer ''
Channel 'red' view 'main' part 2 internal 'red' layer ''
Any suggestions?
Thanks
Phil
--
Phil Barrett
FilmLight