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

Command for Embed control to export image #600

Open
mscherotter opened this issue Jan 23, 2023 · 2 comments
Open

Command for Embed control to export image #600

mscherotter opened this issue Jan 23, 2023 · 2 comments

Comments

@mscherotter
Copy link

I would like to export an image from the control

  1. Add a command to initiate the export
  2. Add an event to signal the export has been completed. The payload of the message should include the image file.
@danmarshall
Copy link
Contributor

danmarshall commented Jan 23, 2023

related: #571

This feature may need some spec'ing out. For example, should the color legend be included? (Probably).
Currently the canvas is easily exportable as png, but our legend is in the DOM and would require a library such as one of these HTML to Canvas renderers.

@mscherotter
Copy link
Author

The value of exporting the canvas is definitely there if it's easier to do than the whole control.

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

2 participants