Upload Image from Clipboard

Any tips on how I can allow users to upload files by pasting the file into the browser? And also dragging files into the browser for upload?