tinypic
Compress JPG or PNG file in command line.
Install
$ npm install -g tinypic
Usage
Get an API Key first: https://tinypng.com/developers
# Set API Key before use $ tinypic use $API_KEY # Compress an image $ tinypic example.jpg# it writes to example.min.jpg # Custom destination $ tinypic example.jpg ../output.foo.jpg
License
MIT © EGOIST