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)?
- on the new page retrieve the file
- post image / file to S3