title: How can I store the screenshot using html2canvas?
body: <p>I am trying to save the screenshot of website using html2canvas 0.34.</p>
  
  <p>But I don't know where the screenshot be saved, how to store the screenshot into my db, or open the the image with a new window.</p>
  
  <p>My code is below:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $('div').html2canvas({
  onrendered: function( canvas ) {
  var img = canvas.toDataURL();
  window.open(img);
  }
  });
  &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;         
  &lt;h1&gt;Testing&lt;/h1&gt;
  &lt;div&gt;
  &lt;img src='http://25.media.tumblr.com/tumblr_mcc5k9YRli1rt6zh0o1_500.jpg'&gt;
  &lt;/div&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>I want to store the screenshot of the image into database or open in another windows.</p>
  
  <p>Thank you very much.</p>