This program takes the pdfs in input folder and then watermark them with provided logo and website address and puts them in output folder. This program watermark PDFs with Image and Text.
- Clone the repository and make sure you have
PyPDF2andreportlabinstalled. If not, install with
pip install PyPDF2 reportlab`.
- Place your logo in
./bindirectory with name "logo.png". - Put the PDFs that you wish to watermark in
./inputfolder. If folder doesn't already exists, create it manually before running the script. - Run the program with following command in the program directory:
$ python watermarker.py
- BOOM👯, Watermaked PDFs are ready in
./outputdirectory.
- Edited by @vocuzi
- Forked from sNeeds/PDF-Watermarker