title: Converting image object to File object, javascript
body: <p>I want to convert "image object" to "File object" using HTML5 in client side to upload the File to the azure blob storage. </p>
  
  <p>Since I'm using AngularJs, my plan is to </p>
  
  <ul>
  <li>convert image to file</li>
  <li>upload file to blob storage using <a href="https://github.com/kinstephen/angular-azure-blob-upload" rel="noreferrer">angular-azure-blob-upload</a></li>
  </ul>
  
  <p>I have found lots of examples that convert File object to image using FileReader, but I can't find the opposite example.</p>
  
  <p>I heard it is impossible to write files to local file system with client javascript, but I don't need to <strong>store</strong> the File, I just need the file object reference to upload the file.</p>
  
  <p>Is there any way to solve this problem?</p>