Commit 4832c24e authored by saskatchewancatch's avatar saskatchewancatch Committed by GitHub

Allow TIFF min=white PHOTOMETRIC interpretation images to be read unchanged

parent 1caca211
......@@ -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