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

Option to not load whole PDF to memory #60

Open
FluffyDiscord opened this issue Dec 3, 2023 · 1 comment
Open

Option to not load whole PDF to memory #60

FluffyDiscord opened this issue Dec 3, 2023 · 1 comment

Comments

@FluffyDiscord
Copy link

Hi, I am in need to signing pretty big PDFs ranging from 10MB to - 1GB (thousands of pages) and currently it's not really possible, since they all have to be loaded to memory. Any possibility to make it stream the PDF content and modify/write on the go? Right now I have to split the PDF and sign each page individually. Client then receives huge zip with thousands of small PDFs... since joining them back again invalidates the signature

@dealfonso
Copy link
Owner

Hi,
it is planned to include such a feature in the future. The purpose of creating the class StreamReader was to create a subclass named FileStreamReader to enable reading parts of the original file as needed.

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