Comments (2)
@jalevin We currently don't have a dedicated function for this like reader.GetEmbeddedFiles()..., BUT I believe it should be pretty easy to do with our current functionality.
Is your requirement to retrieve embedded files from PDF and/or embed files into PDF?
As per section 7.11.4 Embedded File Streams (p. 111 and 112 of PDF32000_2008) embedded file streams are referenced from the PDF document name dictionary. So should be able to find all the references there (not tied to a specific page). And further description of each embedded file stream is in Table 45 and table 46.
For implementation within UniDoc, I would suggest creating a model.PdfEmbeddedFile struct to contain the dictionary and methods to load and write it out.
from unipdf.
We will need to both embed and retrieve. Looking into retrieving now.
from unipdf.
Related Issues (20)
- [BUG] Table background color glitch HOT 5
- [FEATURE] Drawing TOC in a specific page/area
- [BUG] Proxy is not working HOT 2
- [BUG] Page break between subchapters HOT 1
- [BUG] Writing to buffer with nonroot user HOT 6
- Incorrect table display occurs when multiple rows across pages HOT 3
- [FEATURE] Add more presets and initializer for PageSize HOT 2
- [BUG] PDF Creation not working as expected HOT 7
- [BUG] Incorrect table display occurs when multiple rows across pages
- [BUG] failed to initialize unidoc: license key already set HOT 4
- [BUG] incorrect object position when draw svg graphics HOT 7
- [BUG] Huge memory consumption when writing images to PDF HOT 6
- Render method produces poor quality images. HOT 3
- [BUG] device.Render does not handle transparency HOT 3
- [BUG] no matching font found in the system HOT 3
- [BUG] Font objects syntax error while merging a PDF document with another HOT 17
- [BUG] Unipdf is messing up the unicode while merging Searchable PDF documents and applying PDF/1-a HOT 9
- [BUG] Accessibility tags missing on download HOT 8
- [BUG] Failures when extracting text from pdf HOT 4
- [BUG] miss makezero in slice init HOT 1
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 unipdf.