title: Creating image from Array in javascript and Html5
body: <p>Here is my code. I created imageData 2D array in javascript. After I put all pixels into the this array, I want to create image and put these values into the image.</p>
  
  <pre><code>    var imageData = new Array(width);
  
      var image = new Image;
  
  for (var i = 0; i &lt; width; i++) {
      imageData[i] = new Array(height);
  }
  
      image.src = imageData; //Here is the problem. I want to do that. 
  </code></pre>