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

1
=
0
=
$0
Internet users could send Bitcoin Tips to you if they like your answer!
SEND BITCOIN TIPS
0

Too many commands? Learning new syntax?

FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.

Boost your productivity with FavScripts.com!

Post Answer