pngpaste
Paste PNG into files, 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
Build
$ make all
Installation
From source:
$ make all
$ sudo make install
Or with Homebrew:
$ brew install pngpaste
Usage
$ pngpaste hooray.png
Error Handling
Minimal :'(