Replies: 2 comments 5 replies
-
I always suggest to use Git blaming to identify why these changes were done and dig through the code. In this specific case, The regular public method is Section 7.7.3.3 (table 31) indicates that our list handing might be wrong:
|
Beta Was this translation helpful? Give feedback.
-
This might be a bit of a weird question, but what's the point of the Just for the hell of it, I poked through the API reference anyways, tried
I'm not going to upload a thousand PDFs, of course, but this example PDF from the docs should be enough to reproduce this. Just tested it with python 3.10.0, Windows 10 and pypdf 5.7.0, all pages of this PDF return an empty dictionary for eh, might aswell post the code I used, while I'm at it
I looked through the issues before posting this and also found this PR #1847 which supposedly fixes the issue with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
pypdf/pypdf/_page.py
Lines 964 to 983 in f5c5747
Are there advantages to the above implementation? Why not do similar to
_get_contents_as_bytes
(below), but join as a string and cast to aContentStream
? Further, only this handles when the content stream is an array?pypdf/pypdf/_page.py
Lines 949 to 962 in f5c5747
Beta Was this translation helpful? Give feedback.
All reactions