You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can call the canvas instance's toDataURL method and pass in some options for the download. There may be a more efficient/easier way to do this, but I just create an anchor on the DOM, set the href and download attributes, call the click() method on it, then remove it with the remove() method. Hope this helps!
I'd like to create a function that when called creates an image file that I can save or download and be able to load for later use
The text was updated successfully, but these errors were encountered: