How to save an image from an HTML5 canvas and upload it to image storage?
I have an HTML5 canvas image that I want to save from one page and use it on another page (by uploading the image into storage, AWS S3). I don't want to upload it to S3 on the first page.
What is the best strategy for this?
Possible solution
save the canvas as a dataURL / buffer ?
save that file to the user's device (local storage)?