title: Copy image to clipboard
body: <p>Seemingly, you can't (yet) programmatically copy an image to the clipboard from a JavaScript web app? </p>
  
  <p>I have tried to copy a text in clipboard , and it's worked.</p>
  
  <p>Now I would like to copy an image and after I press <kbd>ctrl</kbd>+<kbd>v</kbd> to paste into Word or Excel or Paint.  </p>
  
  <pre><code>$(function() { 
      $("#btnSave").click(function() { 
          html2canvas($("#container1"), {
              onrendered: function(canvas) {
                  theCanvas = canvas;
  
                  document.body.appendChild(canvas);
                  Canvas2Image.saveAsPNG(canvas); 
                  $("#img-out").append(canvas);
              }
          });
      });
  }); 
  </code></pre>