fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
419 stars 290 forks source link

Reports for family or inividual, pdf view: missing watermark #4951

Open arbor95 opened 5 months ago

arbor95 commented 5 months ago

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.

fisharebest commented 5 months ago

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.