EXR reading: support Z channel if no Y channel
This commit is contained in:
@@ -156,6 +156,10 @@ bool ExrDecoder::readHeader()
|
||||
else
|
||||
{
|
||||
m_green = channels.findChannel( "Y" );
|
||||
if( !m_green )
|
||||
{
|
||||
m_green = channels.findChannel( "Z" ); // Distance of the front of a sample from the viewer
|
||||
}
|
||||
if( m_green )
|
||||
{
|
||||
m_ischroma = true;
|
||||
|
||||
Reference in New Issue
Block a user