mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #229: Can't add picture to PDF
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user