-
Notifications
You must be signed in to change notification settings - Fork 1.5k
BrotliDecode filter #3223
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
Labels
is-feature
A feature request
Comments
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 13, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 13, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 14, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 14, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 14, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 14, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 14, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 14, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 14, 2025
Implements the BrotliDecode filter as specified in ISO 32000-2:2020, Section 7.4.11. Adds necessary constants, integrates the filter into the decoding logic, includes brotli as an optional dependency, adds unit tests, and updates documentation. Closes py-pdf#3223
ash01ish
added a commit
to ash01ish/pypdf
that referenced
this issue
Apr 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explanation
The PDF Association announced yesterday that PDF 2.0 will get a new
/BrotliDecode
filter: https://pdfa.org/brotli-compression-coming-to-pdf/ The actual specification is still missing nevertheless, but they provide three example files of unknown license (although creating our own examples should work nevertheless).This probably requires introducing a new dependency, for example on the reference implementation bindings: https://pypi.org/project/Brotli/ There might be pure Python implementations, but they lack active support and are much slower. Doing our own variant based upon RFC 7932 itself probably introduces too much maintenance overhead - while the actual complexity is not quite complex, it would involve much more code than for the existing filters (except the JBIG2 one which is not yet sorted out).
The text was updated successfully, but these errors were encountered: