PDF Branding Injector
Use cases
Uses PyPDF2 for PDF reading and ReportLab canvas for header creation.
Dynamically scales font size (10-14pt bounds) based on page width relative to 612pt base.
Merges header at offset position, preserving original content.
Processes directory trees recursively with progress tracking via tqdm.
Platform
Browser-based (no installation required)
Input
PDF files
Branding info (phone, website)
Output
Branded PDFs with custom headers
Features
- PyPDF2 + ReportLab header merging
- Responsive text scaling by page width
- Recursive directory processing
- Custom TTF font support
- Hex colour configuration for text and background
- Optional filename suffix and date appending
How to use
- 1 Place PDFs in INPUT_DIR
- 2 Configure FONT_PATH, PHONE_NUMBER, WEBSITE
- 3 Set TEXT_COLOR and BACKGROUND_COLOR (hex)
- 4 Run script with progress tracking
- 5 Collect branded PDFs from OUTPUT_DIR
Want me to run this for you?
I offer this as a managed service. You get the insights without touching the tool.
Related Tools
Best Sellers to XML Sitemap
E-commerceGenerate XML sitemaps from GA landing page exports filtered by top transactions or revenue.
Category Page Suggester
E-commerceSuggest new category pages based on product H1 n-grams and search demand.
eCommerce Image Centering Tool
E-commerceCenter product images using OpenCV multi-method contour detection with threshold fallbacks.
Let's work together
Monthly retainers or one-off projects. No lengthy reports that sit in a drawer.
Let's Talk