Commit b05789ff authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #9564 from saskatchewancatch:i9550

parents 1caca211 4832c24e
......@@ -235,7 +235,7 @@ bool TiffDecoder::readHeader()
m_hdr = false;
if( bpp > 8 &&
((photometric != 2 && photometric != 1) ||
((photometric > 2) ||
(ncn != 1 && ncn != 3 && ncn != 4)))
bpp = 8;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment