title: Is it possible to convert FileReader readAsArrayBuffer data into html5 canvas compatible imageData
body: <p>I'm looking for a way to draw an image to a canvas directly from the html5 FileReader api.</p>
  
  <p>The usual method is to create a new image object, wait for onload and then draw it to the canvas with <code>drawImage()</code>.</p>
  
  <p>However for a specific case which I do not need to go into I would like to bypass the loading of the image data completely if at all possible.</p>
  
  <p>Since the filereader api supports <code>readAsArrayBuffer()</code> I was wondering if there is any way I could take this arraybuffer and convert it into canvas imageData in order to use ctx.putImageData(array) to render the image.</p>
  
  <p>Thanks in advance.</p>