A Python project demonstrating several common PDF automation tasks.
- Creates a PDF
- Adds an image to a PDF
- Merges two PDF files
- Adds a watermark
- Splits a PDF into separate files
- Extracts PDF metadata
- Rotates PDF pages
- fpdf2
- pypdf
Place two sample PDF files and an image in the same folder as the Python script.
The script expects:
- sample1.pdf
- sample2.pdf
- sample_image.png
Run the program with:
python pdf_automation.py
This project was created as part of a Python programming course.