Issue #229: Can't add picture to PDF

This commit is contained in:
Jakub Melka
2024-12-22 17:21:20 +01:00
parent 50dd7ad828
commit f8d7026fa8
2 changed files with 2 additions and 1 deletions

View File

@ -1231,7 +1231,7 @@ void PDFPageContentImageElement::drawPage(QPainter* painter,
painter->scale(1.0, -1.0);
targetRenderBox.moveTopLeft(QPointF(0, 0));
QImage image = convertor.convert(image);
QImage image = convertor.convert(m_image);
painter->drawImage(targetRenderBox, image);
}
}