I want to convert "image object" to "File object" using HTML5 in client side to upload the File to the azure blob storage.
Since I'm using AngularJs, my plan is to
There is a way to save files to the local file system, through the File System API, but only Chrome and Opera supports it. If you want to render an image file from File/Blob to an IMG tag, you can do
img.src = URL.createObjectURL(myFileOrBlob);
This will convert the File/Blob to an URL, which is available only inside of your browser and looks like that
After you are done using the image, it's good to free the memory by doing
Hope I understood you correctly and that helps you.