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

Support for modifying existing PDFs? #26

Open
heyitsjames opened this issue Mar 30, 2021 · 1 comment
Open

Support for modifying existing PDFs? #26

heyitsjames opened this issue Mar 30, 2021 · 1 comment

Comments

@heyitsjames
Copy link

I don't see a way to modify an existing PDF from the code or examples. Wondering if this is possible. If not, what would it take to add this functionality? Genuinely interested in helping out with this project.

@andrewtimberlake
Copy link
Owner

It is not currently possible with this library.
To support it would require the ability to read the PDF format, which this library does not support. Once read you would need to be able to modify the PDF data structure and then write it out.
This library only supports a very small subset of the PDF spec and has been built thus far to deal with generating simple documents and invoices I use for my work projects.
To modify PDFs we would need to be able to read and write the entire PDF spec or fail on more complicated documents.

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