Metadata-Version: 2.1
Name: pimg
Version: 0.0.1
Summary: Save an image in clipboard
Home-page: https://github.com/eggplants/pimg
Author: eggplants
License: MIT
Platform: UNKNOWN
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: PyGObject

# `pimg`

- CLI (and library) for saving an image in clipboard to a local file with PyGObject
- Inspired by [PasteImg](https://github.com/cas--/PasteImg)
  - requires Python 2.x and PyGTK (Last-Modified: 2011)

## Install

```bash
pip install pimg
```

## Example

```bash
# 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

```bash
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)


