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

Embed images when outputting SVG #202

Open
kamiazya opened this issue Dec 19, 2020 · 0 comments
Open

Embed images when outputting SVG #202

kamiazya opened this issue Dec 19, 2020 · 0 comments
Labels
enhancement New feature or request @rediagram/common Common config and utility for rediagram.

Comments

@kamiazya
Copy link
Owner

Is your feature request related to a problem? Please describe.

When outputting SVG, the image is the path of the file.

Portability is not good because the file path cannot be referenced at the time of distribution.

Describe the solution you'd like

Base64 encode the image and embed it in SVG.

@kamiazya kamiazya added enhancement New feature or request @rediagram/common Common config and utility for rediagram. labels Dec 19, 2020
kamiazya added a commit that referenced this issue May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request @rediagram/common Common config and utility for rediagram.
Projects
None yet
Development

No branches or pull requests

1 participant