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

any way to add page numbers on existing PDF file page? #35

Open
retsyo opened this issue Jan 31, 2021 · 1 comment
Open

any way to add page numbers on existing PDF file page? #35

retsyo opened this issue Jan 31, 2021 · 1 comment

Comments

@retsyo
Copy link

retsyo commented Jan 31, 2021

I have searched solution for python, 2 ways to add page numbers (with custom position, font name, font size) involving in opening existing PDF file as template. I have glimpsed nimpdf but found that it only creates PDF from scartch so there is no way to add page numbers to existing PDF file till now, did I miss something?

  1. way 1, draw text on separated pages
  2. way 2, read page from watermark.pdf then add it to separated pages
@jangko
Copy link
Owner

jangko commented Feb 1, 2021

no, nimPDF is a PDF writer.
What you asked for require a PDF parser with PDF manipulation capability.
but probably you could try muPDF, I never tried it for adding page number, but it has numerous tools to manipulate existing PDF file.

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

No branches or pull requests

2 participants