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

PDF Watermarks losing functionality #431

Closed
paul-apacio opened this issue May 29, 2018 · 3 comments
Closed

PDF Watermarks losing functionality #431

paul-apacio opened this issue May 29, 2018 · 3 comments
Labels
is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF needs-example-code The issue needs a minimal and complete (e.g. all imports) example showing the problem needs-pdf The issue needs a PDF file to show the problem PdfMerger The PdfMerger component is affected

Comments

@paul-apacio
Copy link

I have two pdf pages. One has a design, the other is blank, but has a PDF watermark set with Adobe Acrobat to display on screen, but not when printed. If I merge these two pages together it seems to lose whatever it is that makes that watermark disappear, and the watermark stays on top of the image when printed.
If I open the generated file up in Adobe Acrobat, it recognises that a watermark is on the file, and even displays the watermark's appearance settings as being not on print, but still the watermark appears, unless I reset the watermark value for Show when printing, and hit okay. It seems like some tiny value is getting mangled on merge, but acrobat still vaguely recognises it in the outputted file.

Does anyone have an idea why this might be happening, and if there is a way to fix this programmatically? Unfortunately my users can't be opening and editing the files to turn the watermark off.

@MartinThoma MartinThoma added the is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF label Apr 8, 2022
@MartinThoma
Copy link
Member

Do you have example code + pdf(s)?

@MartinThoma
Copy link
Member

#508 might be related

@MartinThoma MartinThoma added the PdfMerger The PdfMerger component is affected label Jun 22, 2022
@MartinThoma MartinThoma added needs-pdf The issue needs a PDF file to show the problem needs-example-code The issue needs a minimal and complete (e.g. all imports) example showing the problem labels Jul 9, 2022
@MartinThoma
Copy link
Member

I cannot reproduce this issue. I can open this issue again, if anybody can share an example PDF document or more information. Please also let me know if the problem still occurs with the latest PyPDF2 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is-bug From a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF needs-example-code The issue needs a minimal and complete (e.g. all imports) example showing the problem needs-pdf The issue needs a PDF file to show the problem PdfMerger The PdfMerger component is affected
Projects
None yet
Development

No branches or pull requests

2 participants