Re: requesting a specific layer/view from a part?

Gonzalo Garramuno <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
On 17/06/14 13:56, Paul Miller wrote:
> I'm adapting some code (which previously used RgbaInputFile) to 
> support MultiPartInputFiles and InputPart objects.
>
> But there is no InputPart::setLayerName(). Once I have identified a 
> part, how am I supposed to request the "left" or "right" view for 
> instance, assuming the part has both left and right channel descriptors?
>
Each part has a header with both a view() and a name() call for that 
header.  The name tells you what you are dealing with and the view() 
what left or right eye you are dealing with.  However note that 
supporting view() is optional (hasView()), so it is a good idea to check 
for "left" or "right" string in the name().
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.