PDF: fix export with the same image multiple times

This commit is contained in:
Richard Schreiber
2023-07-21 10:42:42 +02:00
parent 393a218df5
commit 1b876d0a8e

View File

@@ -866,7 +866,7 @@ class Renderer:
if image_file:
try:
ir = ThumbnailingImageReader(image_file)
ir = ThumbnailingImageReader(image_file.path)
ir.resize(float(o['width']) * mm, float(o['height']) * mm, 300)
canvas.drawImage(
image=ir,