npm.io
0.1.1 • Published 10 years agoCLI

tinypic

Licence
MIT
Version
0.1.1
Deps
5
Vulns
0
Weekly
0
Stars
3

tinypic NPM version NPM downloads

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

Keywords