I need to synthesize images. I wonder if I can directly grab the image generated by canvas in the background and then return it to the front end?
黄舟2017-06-05 11:11:30
The image front-end of canvas can be grabbed by calling the toDataURL() method.
The specific usage can be found at https://developer.mozilla.org...
To download, use the download attribute added in the a tag in HTML or download through the backend. For details, you can also refer to the canvas image download