title: Store an image file in IndexedDB
body: <p>I'm having issues trying to store an image file in IndexedDB, I grab the file object and try and push that into IndexedDB but it seems to throw an error:</p>
  <blockquote>
  <p><code>DOM Exception: DATA_CLONE_ERR (25)</code></p>
  </blockquote>
  <p>How can I convert the file object, which looks like this (below) to something I can store in indexedDB and retrieve from indexedDB at a later date?</p>
  <pre><code>attribute: 32
  contentType: &quot;image/png&quot;
  displayName: &quot;image1&quot;
  displayType: &quot;PNG File&quot;
  fileType:    &quot;.png&quot;
  name:        &quot;image1.png&quot;
  path:        &quot;C:\pictures\image1.png&quot;
  </code></pre>