Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcsalterego/pngpaste
Paste PNG into files, much like pbpaste does for text.
https://github.com/jcsalterego/pngpaste
Last synced: about 22 hours ago
JSON representation
Paste PNG into files, much like pbpaste does for text.
- Host: GitHub
- URL: https://github.com/jcsalterego/pngpaste
- Owner: jcsalterego
- License: other
- Created: 2011-03-30T20:08:33.000Z (over 13 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T17:37:17.000Z (almost 2 years ago)
- Last Synced: 2024-06-11T19:16:42.332Z (6 months ago)
- Language: Objective-C
- Homepage:
- Size: 19.5 KB
- Stars: 454
- Watchers: 11
- Forks: 32
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred-test - jcsalterego/pngpaste - Paste PNG into files, much like pbpaste does for text. (Objective-C)
README
pngpaste
========Paste PNG into files on MacOS, much like `pbpaste` does for text.
However instead of `pngpaste > thefile.png`, it's `pngpaste thefile.png`,
so one does not accidentally barf binary into the console.### Motivation
[http://apple.stackexchange.com/q/11100/4795](http://apple.stackexchange.com/q/11100/4795)
### Build
$ make all
### Installation
From source:
$ make all
$ sudo make installOr with Homebrew:
$ brew install pngpaste
### Usage
$ pngpaste hooray.png
### Bonus and Disclaimers
Supported input formats are PNG, PDF, GIF, TIF, JPEG.
Supported output formats are PNG, GIF, JPEG, TIFF.
Output formats are determined by the provided filename extension,
falling back to PNG.It's unclear if EXIF data in JPEG sources are preserved. There's an
issue with pasting into JPEG format from a GIF source.### Error Handling
Minimal :'(