Using PyPdf to overlay image on pdf
Requirements:
pip install fpdf Pillow pypdf
Examples
* Specific page, the pages begin at zero
p = PDF("C://tmp/a.pdf", "C://tmp/w.pdf", "C://tmp/img.jpg")
p.watermark_page(3)
* All pages
p = PDF("C://tmp/a.pdf", "C://tmp/w.pdf", "C://tmp/img.jpg")
pdf.watermark_all_pages()
-
Notifications
You must be signed in to change notification settings - Fork 0
momosh1r0/pdf_watermark
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
PDF's watermark with PyPdf
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published