webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

Reports for family or inividual, pdf view: missing watermark

Open arbor95 opened this issue 1 year ago • 1 comments

for Reports / Family (or Reports / Individual) the pdf-view shows the indi images without watermark. In the html-view the images are shown correct, with watermark.

arbor95 avatar Feb 07 '24 14:02 arbor95

createImageFromObject() works differently for the two reports.

HTML uses the URL - which adds a watermark. PDF uses the file contents directly.

The ImageFactory class/interface does not provide a suitable method. We'll need to add one. We can then store inline images in the HTML report, which should make the files standalone.

fisharebest avatar Feb 10 '24 21:02 fisharebest