Comments (1)
PDF is a very complex format. In this case, the PDFs you have are being used to store data custom application specific data. There is a sort of standard way to do layers. I don't know what "classes" would be in PDF internal data structures - there are many ways one could express that.
If you're familiar with HTML, it's sort of like looking at a block of text and wondering how it got its particular formatting - maybe there are some CSS rules that select it, maybe Javascript dynamically modified the rules, maybe there's inline CSS, maybe the text is rendered with SVG or Canvas. Maybe it's an iframe. Without getting into the details of how a specific HTML application works, you can't answer that question. And a different application that looks identical to the user may have an entirely different technical implementation.
You could use a tool like iText RUPS to inspect the structure of the PDF, and the PDF reference manual, and see if you can find where the data you want to access is located in the PDF. Then pikepdf gives you an efficient way to retrieve that information.
from pikepdf.
Related Issues (20)
- How to replace the value of an Object mapped to a variable HOT 1
- pikepdf, libjpeg, l HOT 1
- 8.11.0: pytest requires `conftest` HOT 5
- Add 2 overlaid images to page with transparency mask HOT 2
- Add type checking for setting XMP metadata HOT 1
- RDF/XMP generated by pikepdf is incorrect?
- Question on file compression. HOT 1
- Re-enable 32-bit wheels on Windows HOT 2
- While emplacing a pdf, it changes underlying page metadata incorrectly HOT 1
- The pdf doc has been linearized, but the property "fast web view" still is “no" HOT 1
- A PDF with dodgy (yet apparently valid per qpdf --check) structure is causing a crash HOT 1
- generic_type: type "ObjectStreamMode" is already registered! HOT 1
- `docinfo_from_xmp()` fails on reduced precision dates (`YYYY` / `YYYY-MM`) HOT 1
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 5: invalid continuation byte HOT 3
- [Feature] QPDFFormFieldObjectHelper setFormFieldName HOT 4
- pytest error: `-n` unknown HOT 2
- Specific Image with CCITT group 4 cannot be detected and treated HOT 2
- Missing sdist for 9.0.0 HOT 3
- pikepdf 9.0 fails to build on macOS HOT 3
- OSS-Fuzz Integration HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pikepdf.