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

Use zlib library to implement "flate" streams in PDFViewer #757

Open
mgroeber9110 opened this issue Dec 21, 2024 · 0 comments
Open

Use zlib library to implement "flate" streams in PDFViewer #757

mgroeber9110 opened this issue Dec 21, 2024 · 0 comments

Comments

@mgroeber9110
Copy link
Collaborator

As far as I can tell, the Appl/PDFViewer/main/stream.goc module of the PDF viewer contains a separate Implementation of the Inflate compression algorithm that is also available in the zlib library.

We may want to check if we can use the library code instead of the PDF-specific implementation, so that all code benefits from common optimization work. With the addition of PNG support, we will have additional reasons to work on the Inflate code, e.g. by trying to imorove memory management for the 32K window.

This may also help other PDF-related issues such as #438.

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

1 participant