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

Write object streams #101

Open
michaelrsweet opened this issue Feb 21, 2025 · 0 comments
Open

Write object streams #101

michaelrsweet opened this issue Feb 21, 2025 · 0 comments
Labels
enhancement New feature or request priority-medium
Milestone

Comments

@michaelrsweet
Copy link
Owner

PDF 1.5 and later allow value-only objects (dictionaries, arrays, etc.) to be provided in so-called object streams (type "ObjStm") which can be compressed to reduce the output file size. Cannot be used for the info, root, encryption, or length objects.

Need to abstract the value writing code to support writing to strings in addition to the PDF file.

Add objstm object number and index to objects, which is put in the cross-reference stream.

@michaelrsweet michaelrsweet added this to the Future milestone Feb 21, 2025
@michaelrsweet michaelrsweet added enhancement New feature or request priority-medium labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-medium
Projects
None yet
Development

No branches or pull requests

1 participant