8000 GitHub - eggplants/pimg: Simple CLI + Library to <save image in clipboard | copy image into clipboard>
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ pimg Public

Simple CLI + Library to <save image in clipboard | copy image into clipboard>

License

Notifications You must be signed in to change notification settings

eggplants/pimg

Repository files navigation

pimg

PyPI version pre-commit.ci status Maintainability Code Coverage

  • 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: May 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
  • To save an image in clipboard in local:
pimg g sth.png
  • To copy a local image into clipboard:
pimg c sth.png

Usage

$ pimg -h
usage: pimg [-h] [-V] {get,g,copy,c} ...

Save an image in clipboard / Copy an image to clipboard

positional arguments:
  {get,g,copy,c}
    get (g)       get/save an image from clipboard
    copy (c)      copy a local image to clipboard

options:
  -h, --help      show this help message and exit
  -V, --version   show program's version number and exit
$ pimg g -h
usage: pimg get [-h] PATH

positional arguments:
  PATH        path of save file

options:
  -h, --help  show this help message and exit
$ pimg c -h
usage: pimg copy [-h] PATH

positional arguments:
  PATH        path of image to copy

options:
  -h, --help  show this help message and exit

license

MIT

Author

haruna(eggplants)

About

Simple CLI + Library to <save image in clipboard | copy image into clipboard>

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0