Open j-t-1 opened 3 days ago
What is the data based upon?
Content stream compression is provided by function compress_content_streams
.
Cross-reference streams, do we support this? I will revert the tick.
I will wait for @pubpub-zz to check if these statements are valid, having more knowledge on PDF files and specific stuff of pypdf.
Cross Reference streams are defined in §3.4.7of pdf 1.7 reference. They are tagged with XRefStm
It allows many objects to be stored within a stream which may improve compression.
pypdf can read them without problem. I can not remember any functions allowing to modify/create some.
Thanks @pubpub-zz. Content Stream Compression support is now the added supported feature.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files
```diff @@ Coverage Diff @@ ## main #2738 +/- ## ======================================= Coverage 95.14% 95.14% ======================================= Files 51 51 Lines 8548 8548 Branches 1703 1703 ======================================= Hits 8133 8133 Misses 261 261 Partials 154 154 ```:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.