Adding WaterMark to a PDF file using Python

preview_player
Показать описание
import PyPDF2

reader = PyPDF2.PdfFileReader(file)

reader2 = PyPDF2.PdfFileReader(water)
writer =PyPDF2.PdfFileWriter()

Рекомендации по теме
Комментарии
Автор

But this watermark can be removed by end-user with PDF editor tools. Can we prevent that?

dongjinkim
Автор

Hey, I tried following this however when I merge my watermark pdf it covers the entire source pdf. I tried making the watermark pdf transparent in gimp and it made the pdf green instead.


Is there any chance you can share your watermark pdf so I can look into it's properties?

mikeymop
Автор

thanks, I will try and update if I have any problems

vasantpatil
join shbcf.ru