Skip to content

Add the option to export data URIs to files.#1307

Open
mike-matera wants to merge 4 commits intomicrosoft:mainfrom
mike-matera:main
Open

Add the option to export data URIs to files.#1307
mike-matera wants to merge 4 commits intomicrosoft:mainfrom
mike-matera:main

Conversation

@mike-matera
Copy link
Copy Markdown

Hello!

This pull request builds on #1140 by adding an option, --export-data-uris, that allows users to specify a path prefix where embedded images will be saved. The document will be generated with references to the saved files. The rationale is to make it so converted documents are easier to edit because they don't contain mountains of base64 encoded data.

I realize this might not quite be in line with the goal of making the data available to an LLM but it really seems like a missing feature.

Please let me know what you think.

@mike-matera
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@DanielOverdevest
Copy link
Copy Markdown

Exactly what I needed! Thanks @mike-matera

@akumar9-godaddy
Copy link
Copy Markdown

Does it work for pdf as well ?

@Jeandoom
Copy link
Copy Markdown

Jeandoom commented Nov 4, 2025

need it, i want to know when it would be published

Copy link
Copy Markdown

@Jeandoom Jeandoom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please merge this into main branch and quickly publish it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants