Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multibackground feature #35

Open
gsauthof opened this issue Apr 27, 2018 · 2 comments
Open

Add multibackground feature #35

gsauthof opened this issue Apr 27, 2018 · 2 comments
Labels

Comments

@gsauthof
Copy link

The pdftk tool has this multibackground feature for merging (i.e. not concatenating) 2 PDF files.

Besides adding a real background to a PDF this is also useful for adding a text layer to a PDF (where the text layer PDF comes from an OCR program like tesseract).

Example:

pdftk images.pdf multibackground ocr-textlayer.pdf output document.pdf

Thus, it would be great if stapler would add such an operation, as well.

@gsauthof
Copy link
Author

gsauthof commented May 1, 2018

See also pdfmerge.py as a proof-of-concept how to do this with PyPDF2.

@hellerbarde
Copy link
Owner

Thanks. That sounds very useful! I'll check out your proof of concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants