Saves an image from clipboard to a file.
- python3
- PyGTK
Download image-clipboard-to-file.py
and run it with python image-clipboard-to-file.py
.
Note: Some distributions such as Arch Linux renamed Python 3 to python3
instead of python
.
Arch Linux users can install the image-clipboard-to-file package from the AUR.
This version is not reflected in the AUR package, which requires python2 instead. It is simply converted using 2to3.
Thanks to Paweł Pałucha who posted this script on this stackoverflow discussion. I share it here to allow package maintainers to easily package it for their distribution.