Save an image in clipboard
Project description
pimg
- CLI (and library) for saving an image in clipboard to a local file with PyGObject
- Inspired by PasteImg
- requires Python 2.x and PyGTK (Last-Modified: 2011)
Install
pip install pimg
Example
# First, crop or copy image on browser
# e,g) Cropping a screen:
# - Ubuntu: Shift+PrtScn
# - Windows: Win+Shift+S
# Then, to save the image in clipboard in local:
# pimg <name>.<extension>
$ pimg sth.png
$ file sth.png
sth.png: PNG image data, ...
Usage
usage: pimg [-h] [-V] savefile
Save an image in clipboard
positional arguments:
savefile File name to save
optional arguments:
-h, --help show this help message and exit
-V, --version show program's version number and exit
license
MIT
Author
haruna(eggplants)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pimg-0.0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
pimg-0.0.1-py3-none-any.whl
(4.1 kB
view hashes)