Hi I have a page where I show user's profile image that is loaded like this:
$("#imgProfile").attr('src', 'http://myserver/user.png')
Now I need to submit this image using HTML 5 File API, but to do this I need to first convert my image to File API. All the samples that I saw at internet work together with input type="file", but I already have that image, I'm not choosing the image from local computer.
All the examples like this one https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications use File API from input type="file" element