Resize images in memory
$ npm install --save resize-img-cli
$ resize-img --help
Usage
$ resize-img <image>
$ cat <image> | resize-img
Options
--width Desired width of target image
--height Desired height of target image
Examples
$ resize-img unicorn.png --width 200 > unicorn-200x200.png
$ cat unicorn.png | resize-img --width 200 > unicorn-200x200.png
- resize-img - API for this module.
MIT © Kevin Martensson