title: How to save html2canvas image to my project images folder?
body: <p>I am not sure how to specify the path for the file to be save (like ../images/screenshot.png)I tried saving the image like</p>
  
  <pre><code>html2canvas($my-div, {
      useCORS: true,
      allowTaint: true,
      onrendered: function (canvas) {
        var img = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
        location.href = img;
     }
  });
  </code></pre>
  
  <p>This gets downloaded to my system downloads.How do I save this to the folder inside the project (want to specify the path I want to save the file)?</p>