SandDance icon indicating copy to clipboard operation
SandDance copied to clipboard

Command for Embed control to export image

Open mscherotter opened this issue 3 years ago • 2 comments

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.

mscherotter avatar Jan 23 '23 16:01 mscherotter

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.

danmarshall avatar Jan 23 '23 19:01 danmarshall

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

mscherotter avatar Jan 23 '23 19:01 mscherotter