File upload using paste

You can paste an image, which is on your clipboard, into this window and it will appear below. If you use Windows you can press PrtScr to get a screenshot on your clipboard. Then press CTRL+V to paste it into this document.

Read the full article about this and get the full source code on rgraph.net