I found a package called ImagePaste that might be what you need.
forFor Linux
pip
pipinstall PyUserInputPyUserInput, pyscreenshotpyscreenshotand install python-pyqt4python-pyqt4as backend of pyscreenshotpyscreenshot.
 To make it work on Linux: replace "im = ImageGrab.getclipboard()"im = ImageGrab.getclipboard() with "im = ImageGrab.grab()"im = ImageGrab.grab() in the imageutil.pyimageutil.py file. (1)