Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benhg/pdf-interleave
Interleave PDFs
https://github.com/benhg/pdf-interleave
Last synced: 26 days ago
JSON representation
Interleave PDFs
- Host: GitHub
- URL: https://github.com/benhg/pdf-interleave
- Owner: benhg
- Created: 2024-12-16T22:53:36.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-16T23:09:33.000Z (about 1 month ago)
- Last Synced: 2024-12-17T00:29:07.563Z (about 1 month ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDF Interleave
Imagine this scenario. You have gone to scan some documents that are double sided. But your scanner cannot handle double-sided. The document has too many pages to scan individually in a flatbed scanner, flipping each time.
A strike of brilliance hits your mind. You will place your document in face-up, scan all the odd pages, then flip the stack over and put it back in, scanning the even pages.
However, this leaves you with two documents:
1. The odd pages in increasing order (1,3,5,7,etc)
2. The even pages in decreasing order (100,98,96,etc)This project solves just that situation.
# Usage
1. Name your two documents the same thing, but differing by _even and _odd
2. Run the tool `pdf_interleave.py -d `. Don't put _even or _odd, or .pdf in the document name.
3. The output will go to `_all.pdf`# Installation
Requries `pypdf2`
It's just a python script. Put it wherever you want and run it.