mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-01-22 21:30:06 +01:00
wrong color of CCITT image
This commit is contained in:
parent
5c3d568cc1
commit
9a59af2e12
@ -444,7 +444,7 @@ PDFImageData PDFCCITTFaxDecoder::decode()
|
||||
++index;
|
||||
}
|
||||
|
||||
writer.write((isCurrentPixelBlack != m_parameters.hasBlackIsOne) ? 1 : 0);
|
||||
writer.write(isCurrentPixelBlack ? 0 : 1);
|
||||
}
|
||||
writer.finishLine();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user