https://github.com/atsuoishimoto/pastecat
Paste clipboard image to file on Windows/macOS.
https://github.com/atsuoishimoto/pastecat
clipboard console image macos python windows
Last synced: 5 months ago
JSON representation
Paste clipboard image to file on Windows/macOS.
- Host: GitHub
- URL: https://github.com/atsuoishimoto/pastecat
- Owner: atsuoishimoto
- License: mit
- Created: 2020-05-25T00:49:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T14:48:27.000Z (almost 6 years ago)
- Last Synced: 2025-10-04T18:54:44.269Z (9 months ago)
- Topics: clipboard, console, image, macos, python, windows
- Language: Python
- Size: 3.91 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pastecat
Paste clipboard image to file on Windows/macOS.
## Requirements
- Runs on Windows/macOS.
**Sorry, I have not test on Windows yet**
- Requires Python 3.7 or later.
## Install
pip3 install pastecat
## Usage
```
usage: pastecat.py [-h]
[-f [{BLP,BMP,BUFR,CUR,DCX,DDS,DIB,EPS,FITS,FLI,FTEX,GBR,
GIF,GRIB,HDF5,ICNS,ICO,IM,IPTC,JPEG,JPEG2000,MPEG,
MPO,MSP,PALM,PCD,PCX,PDF,PIXAR,PNG,PPM,PSD,SGI,SUN,
TGA,TIFF,WEBP,WMF,XBM,XPM}]]
[--version]
[filename]
Paste clipboard image to file on Windows/macOS.
positional arguments:
filename Output filename. If the filename is `-`, image is written to stdout.
optional arguments:
-h, --help show this help message and exit
-f [{BLP,BMP,BUFR,CUR,DCX,DDS,DIB,EPS,FITS,FLI,FTEX,GBR,GIF,GRIB,HDF5,
ICNS,ICO,IM,IPTC,JPEG,JPEG2000,MPEG,MPO,MSP,PALM,PCD,PCX,PDF,PIXAR,
PNG,PPM,PSD,SGI,SUN,TGA,TIFF,WEBP,WMF,XBM,XPM}]
Output file format. Default is PNG. If not specified,
format is determined from the filename.
--version show program's version number and exit
```
## License
Copyright 2020 Atsuo Ishimoto
See LICENSE for detail.