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); painter->scale(1.0, -1.0);
targetRenderBox.moveTopLeft(QPointF(0, 0)); targetRenderBox.moveTopLeft(QPointF(0, 0));
QImage image = convertor.convert(image); QImage image = convertor.convert(m_image);
painter->drawImage(targetRenderBox, image); painter->drawImage(targetRenderBox, image);
} }
} }

View File

@ -1,4 +1,5 @@
CURRENT: CURRENT:
- Issue #229: Can't add picture to PDF
- Issue #228: [feature] reverse pages order - Issue #228: [feature] reverse pages order
- Issue #222: UnitTests fails several tests - Issue #222: UnitTests fails several tests
- Issue #207: Zoom to Cursor (Zoom Anchoring) - Issue #207: Zoom to Cursor (Zoom Anchoring)