mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
Merge pull request #9564 from saskatchewancatch:i9550
This commit is contained in:
commit
b05789ff0b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user