Open thangaraja opened 4 years ago
@thangaraja you could grab the context of the canvas after rendering and use getImageData
(https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData)
or if you're going to render the image with an image tag you can use toDataUrl
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL
Hi,
I am working on a project in which the SMILE need to be prepared as the API. So the UI can be handled by the consuming application.
Is there a way to generate the result as an image?