title: Browser/HTML Force download of image from src="data:image/jpeg;base64..."
body: <p>I am generating a image on client side and I display it with HTML like this:</p>
  
  <pre><code>&lt;img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgM...."/&gt;
  </code></pre>
  
  <p>I want to offer the possibility to download the generated Image.</p>
  
  <p>How can I realize that the browser is opening a file save dialoge (or just download the image like chrome or firefox to the download folder would do) which allows the user to save the image <strong>without doing right click and save as</strong> on the image?</p>
  
  <p>I would prefer a solution without server interaction. So I am aware that it would be possible if I first upload the Image and then start the download.</p>
  
  <p>Thanks a lot!</p>