To take and save screenshot.
pip install -U savescreen
usage: savescreen [options]
optional arguments:
-h, --help show this help message and exit
-v, --version show version number and exit
to take screenshot:
-n , --name name to screenshot
-p , --path path to save screenshot (default : path)
-f , --format image format to save screenshot (default : png)
-t , --timeout timeout period before taking screenshot in secs (default : 5s)
-d , --display to display the screenshot (default : False)
To encrypt/decrypt message using rsa.
from savescreen import Screenshot
screenshot = Screenshot(name='shot', img_format='png')
screenshot.take() # to take screenshot
screenshot.save() # to save the screenshot
screenshot.display() # to display screenshot
To take and save screenshot in png format.
$ savescreen --name shot --format png
Screenshot saved in '.../shot.png'.
To take and save screenshot after 30 secs.
$ savescreen --name shot --format png --timeout 30
Screenshot saved in '.../shot.png'.
If you encounter any problems, please file an issue along with a detailed description.