wrong color of CCITT image

This commit is contained in:
Jakub Melka 2019-10-16 18:12:54 +02:00
parent 5c3d568cc1
commit 9a59af2e12

View File

@ -444,7 +444,7 @@ PDFImageData PDFCCITTFaxDecoder::decode()
++index;
}
writer.write((isCurrentPixelBlack != m_parameters.hasBlackIsOne) ? 1 : 0);
writer.write(isCurrentPixelBlack ? 0 : 1);
}
writer.finishLine();