Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watermark support #441

Open
abhayarawal opened this issue May 23, 2024 · 3 comments
Open

Watermark support #441

abhayarawal opened this issue May 23, 2024 · 3 comments
Labels
new feature New feature or request v2 will be solved in v2

Comments

@abhayarawal
Copy link

Is your feature request related to a problem? Please describe.
The background image feature lets you add a quasi-watermark, but all content in the PDF is rendered on top of it. It's fine when your PDF only has text; however, when you have PDFs with images, the watermark gets cut off because the images are rendered on top of the background.

Describe the solution you'd like
A way to add overlays or watermark would be great.

@johnfercher
Copy link
Owner

johnfercher commented May 27, 2024

I don´t get it. Could you provide an example? Did you saw this example?

@johnfercher johnfercher added v2 will be solved in v2 question Further information is requested labels May 27, 2024
@abhayarawal
Copy link
Author

abhayarawal commented May 27, 2024

Sure, here's an example
image

here, the watermark is a background image. Since all the pdf contents are rendered on top of the background, the watermark gets cut off by the image. I want the watermark to appear on top of the document so it covers everything.

@johnfercher
Copy link
Owner

johnfercher commented May 27, 2024

Oh I see, thank you. Maybe we can use this jung-kurt/gofpdf#240

@johnfercher johnfercher added bug Something isn't working new feature New feature or request and removed question Further information is requested bug Something isn't working labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request v2 will be solved in v2
Projects
None yet
Development

No branches or pull requests

2 participants