Skip to main content

To take and save screenshot.

Project description

Savescreen

PyPI Pypi - License PyPI - Python Version

To take and save screenshot.

Installation

pip install -U savescreen

Usage

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)

Python Script

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

Command Line

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'.

Issues:

If you encounter any problems, please file an issue along with a detailed description.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

savescreen-1.0.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

savescreen-1.0.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page