mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
JBIG2 - bugfixing
This commit is contained in:
@@ -670,6 +670,7 @@ PDFImage PDFImage::createImage(const PDFDocument* document,
|
||||
|
||||
PDFJBIG2Decoder decoder(qMove(data), qMove(globalData), errorReporter);
|
||||
image.m_imageData = decoder.decode(maskingType);
|
||||
image.m_imageData.setDecode(!decode.empty() ? qMove(decode) : std::vector<PDFReal>({ 0.0, 1.0 }));
|
||||
}
|
||||
else if (colorSpace || isSoftMask)
|
||||
{
|
||||
|
Reference in New Issue
Block a user