1.0.3 • Published 9 years ago

imagemin-cli-stdout v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

imagemin-cli Build Status

Minify images

Issues with the output should be reported on the imagemin issue tracker.

Install

$ npm install --global imagemin-cli

Usage

$ imagemin --help

  Usage
    $ imagemin <file> <directory>
    $ imagemin <directory> <output>
    $ imagemin <file> > <output>
    $ cat <file> | imagemin > <output>

  Example
    $ imagemin images/* build
    $ imagemin images build
    $ imagemin foo.png > foo-optimized.png
    $ cat foo.png | imagemin > foo-optimized.png

  Options
    -i, --interlaced                    Interlace gif for progressive rendering
    -o, --optimizationLevel <number>    Optimization level between 0 and 7
    -p, --progressive                   Lossless conversion to progressive

Related

License

MIT © imagemin