Merge PDF files into one PDF file and add watermark to each page
Installation:
- git clone
- cd PDFTool/
- python3 -m venv venv # create virtual environment
- . venv/bin/activate (.fish # if you're using fish)
- pip3 install -r requirements.txt
Example:
- pdf1, pdf2, pdf3 single files
- in the /results you can see
- merged PDF and merged_watermaked PDF
Usage:
-
Open Directory and add your PDFs to merge (delete example files)
-
Run: python3 merge.py pdfname1.pdf pdfname2.pdf pdfname3.pdf etc...
-
Merged PDF was saved to: ./results/merged.pdf
-
Add watermark.pdf to the rest of the files in main directory
-
Run: python3 watermark.py
-
Watermarked PDF was saved to: ./results/merged_and_watermarked.pdf