Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luc-ass/pdf-overlay
Merge content-pdf onto stationary-pdf
https://github.com/luc-ass/pdf-overlay
document merge pdf python3
Last synced: 15 days ago
JSON representation
Merge content-pdf onto stationary-pdf
- Host: GitHub
- URL: https://github.com/luc-ass/pdf-overlay
- Owner: luc-ass
- License: apache-2.0
- Created: 2022-08-25T05:19:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T06:55:15.000Z (11 months ago)
- Last Synced: 2024-10-10T12:24:00.507Z (27 days ago)
- Topics: document, merge, pdf, python3
- Language: Python
- Homepage:
- Size: 276 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ pdf-overlay
This small tool merges a stationary pdf ontop of the first page of a content-pdf. It has been built to combine content files with a letterhead. This enables you to update the letterhead of files much faster.## Usage
### โ๏ธ Installation
On Windows systems download the pdf-overlay.exe into a folder. The folder structure should now look something like this:
```
working_dir/
โโโ Briefkopf/
โ โโโ Briefkopf.pdf
โโโ Dokumente/
โ โโโ Input_PDF_1.pdf
โ โโโ Input_PDF_2.pdf
โโโ PDF/
โโโ pdf-overlay.exe
```
Things you need to know:
1. `./Briefkopf/Briefkopf.pdf` is a fixed name. You should not rename this.
2. `./Dokumente` is a fixed folder name. It should not be changed. Within this folder all subdirectories and PDFs are processed.
3. `.PDF` and neccesary subdirectories are automatically created if they do not exist when the program is run. Existing PDFs will be overwritten.
### ๐งช DEV
The following is only needed if you are developing...```sh
# Only needed on Apple/arm_64 architecture as pymupdf does not have a corresponding wheel and will build using swig
brew install swig# install (and build) PyMuPDF
pip3 install pymupdf
```
### Edit configuration within main.py
### Run Script
`python3 main.py`