title: fabric.js - create Image object from ImageData object of canvas API
body: <p>I want to create an image object in fabric.js from <code>ImageData</code> object, we can get ImageData from this: </p>
  
  <pre><code>var imgData=ctx.getImageData(10,10,50,50);
  //ctx.putImageData(imgData,10,70);
  
  // something liket that
  var image = new fabric.Image.fromImageData (...);
  </code></pre>
  
  <p>Is there any way to create an image object from <code>ImageData</code> object?</p>