I am trying to capture an image using HTML an input tag for file image capture. And save it to local storage before submission. For offline use in a web app
I am using:
<input type="file"
   name="picture"
   accept="image/*"
   capture="user">
All I can find is how to save an image already on the page to local storage, or from a canvas, but not from Form Data.
Thanks.
 
    