Web based family history software

Question watermarks for pdf-files?

  • raipet
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 2 weeks ago #1 by raipet
watermarks for pdf-files? was created by raipet
I have the option of entering watermarks for images.
But I would also like to have this option for pdf-files. Is it possible? If so, how?

Rainer
Raspi 4 8GB, Linux raspi4-Ubuntu2204, Apache (Ubuntu), Mariadb, PHP, WT with VESTA

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
4 months 2 weeks ago #2 by bertkoor
Replied by bertkoor on topic watermarks for pdf-files?
Short answer: no.

Long answer: the pdf's come out of the report generator. As I understand it, this is the oldest part of webtrees source code, and rather difficult to maintain or adjust.

If you want to have a go at changing some PHP code, your best bet is to look into the revamped code for reports:
github.com/fisharebest/webtrees/pull/4945
No idea whether it actually is possible in the pdf engine webtrees uses, but such a watermark is like a header or footer, but diagonally placed in large font, light grey coloured, placed behind the actual text.

stamboom.BertKoor.nl runs on webtrees v2.1.20

Please Log in or Create an account to join the conversation.

  • raipet
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 2 weeks ago #3 by raipet
Replied by raipet on topic watermarks for pdf-files?
I had feared this answer too.
Thanks for the explanations.

Rainer
Raspi 4 8GB, Linux raspi4-Ubuntu2204, Apache (Ubuntu), Mariadb, PHP, WT with VESTA

Please Log in or Create an account to join the conversation.

More
4 months 1 week ago #4 by fisharebest
Replied by fisharebest on topic watermarks for pdf-files?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • raipet
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 1 week ago #5 by raipet
Replied by raipet on topic watermarks for pdf-files?
This is fine. But what if the watermark should not be visible when e.g. a user is logged in?

Rainer
Raspi 4 8GB, Linux raspi4-Ubuntu2204, Apache (Ubuntu), Mariadb, PHP, WT with VESTA

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum