Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to embed images when using diagrams.net #1796

Open
ggrossetie opened this issue Oct 22, 2024 · 0 comments
Open

Allow to embed images when using diagrams.net #1796

ggrossetie opened this issue Oct 22, 2024 · 0 comments

Comments

@ggrossetie
Copy link
Member

diagrams.net has a built-in mechanism to converts all images in the SVG output to data URIs.
However, this mechanism relies on a proxy:

We could take inspiration from the convertImages function but we will most likely need to re-implement this feature: https://github.com/jgraph/drawio/blob/acd938b1e42cff3be3b629e6239cdec9a9baddcc/src/main/webapp/js/diagramly/Editor.js#L3240

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

No branches or pull requests

1 participant