title: ThreeJS Loading a Texuture from a raw javascript ArrayBuffer
body: <p>Given an Javascript ArrayBuffer with the binary data of a image and the extension (jpg, png , etc)
  I would like to create a ThreeJS Texture (without doing any HTTP request or file load as I already have the binary information).</p>
  
  <p>For instance suppose I have :</p>
  
  <pre><code>var binaryData = getBinaryData(); // this returns an ArrayBuffer with the image, for this example we assume is a PNG image.
  var imageFormat = "png";
  </code></pre>
  
  <p>(and also we have the other texture properties as the wrap mode, mipmaps, etc)</p>
  
  <p>How I can load the Texture ?</p>
  
  <p>Any help will be appreciated.</p>