1.0.3 • Published 6 years ago

image-modulator v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

What is it?

A CLI for image resizing.

Installation

npm i -g image-modulator

Usage

  Options:

    -V, --version       output the version number
    -w, --width <n>     The new width, in pixels
    -h, --height <n>    The new height of the images, in pixels
    -s, --source <dir>  The directory that contains the images you want to resize.
    -o, --out <dir>     The directory to send the resized images to
    -h, --help          output usage information

Example

To resize all images from directory ./my-imgs/ to ./my-resized-imgs to 800x543 pixels, do

image-modulator -w 800 -h 543 -s ./my-imgs -o ./my-resized-imgs/