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

Download options for SVG UML #19

Open
1 of 2 tasks
ExarcaFidalgo opened this issue Nov 29, 2020 · 1 comment
Open
1 of 2 tasks

Download options for SVG UML #19

ExarcaFidalgo opened this issue Nov 29, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@ExarcaFidalgo
Copy link
Collaborator

ExarcaFidalgo commented Nov 29, 2020

At least, two download options are to be implemented for the generated diagram:

  • SVG.
  • PNG.

(Unless it is an exclusive responsibility of the project which makes use of it; it is a possibility. If we can ease such task, though...)

@ExarcaFidalgo
Copy link
Collaborator Author

SVG Download is now easy to implementate thanks to the new method base64SVG( ), which encodes the SVG in base64 format. Thus, a download link can be created setting its href attribute with such value, as well as a download attribute.

I gave PNG a couple tries, using whatever examples i could found, but it keeps giving me an empty image. Since there is at least one download option, its priority its low. I'll keep it open, though.

@ExarcaFidalgo ExarcaFidalgo added the enhancement New feature or request label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant