title: Download a canvas as PNG image
body: <p>When i try to download my canvas as PNG image the browser open the image in a new page but don't download it...
  my code for download : </p>
  
  <pre><code>$("#btnScaricaEtichetta").click(function(){
      console.log("Download... ");
  
      location.href = document.getElementById("latoSinistro").toDataURL();
      this.download = "filename";
  });
  </code></pre>
  
  <p>there is a way to simply download it?
  sorry for bad english, i'm italian</p>