access page contents #1131
joshmarinacci
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to traverse the entire tree of my document. I can get a list of pages and see the /Contents as an array using page.normalizedEntries(), however the contents of /Contents is PDFContentStreams and PDFRawStreams, but I don't know where to go from here. Decoding the raw stream with
Doesn't work, nor does
which gives me an array of bytes.
How do we get inside of the contents of page? Is there a way to recurse all the way to the leaves?
I'd be happy to start working on an API for this.
Beta Was this translation helpful? Give feedback.
All reactions