Javascript to paste a clipboard image directly to html5 canvas

$0
=
$0
+
$0
No specific Bitcoin Bounty has been announced by author. Still, anyone could send Bitcoin Tips to those who provide a good answer.
0

Is it possible to paste an image from clipboard to canvas using Javascript? Here is my use-case:

  • we have a browser-based image editor (html5 / canvas) which allows uploading image files and drag-n-dropping files to canvas
  • sometimes I do not have a file but have an image in the clipboard. For example, when using screen capturing software
  • it would be much faster to just copy/paste image directly to canvas, to avoid extra steps of saving image into file and then dragging that file over to canvas

Please advice! Thanks!

1 Answer - total earned - 0 BTC ($0 USD)

1
=
0
=
$0
Everyone, even non-registered users could send Bitcoin Tips to YOU if they are inspired by your answer!
0

Post Answer


Will Bitcoin Tipping become a new Internet Culture?


Please share our story! THANK YOU!