Merge pull request #9564 from saskatchewancatch:i9550

pull/9577/head
Alexander Alekhin 7 years ago
commit b05789ff0b
  1. 2
      modules/imgcodecs/src/grfmt_tiff.cpp

@ -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…
Cancel
Save