Rendering intents for images

This commit is contained in:
Jakub Melka
2019-10-18 17:28:45 +02:00
parent a35957cb53
commit 14419980cc
5 changed files with 60 additions and 6 deletions

View File

@ -2663,7 +2663,7 @@ void PDFPageContentProcessor::paintXObjectImage(const PDFStream* stream)
}
}
PDFImage pdfImage = PDFImage::createImage(m_document, stream, qMove(colorSpace), false, this);
PDFImage pdfImage = PDFImage::createImage(m_document, stream, qMove(colorSpace), false, m_graphicState.getRenderingIntent(), this);
QImage image = pdfImage.getImage();
if (image.format() == QImage::Format_Alpha8)