0.1.1 • Published 6 years ago

img-scale v0.1.1

Weekly downloads
4
License
MIT
Repository
-
Last release
6 years ago

img-scale

A super simple image resizing CLI tool that uses the amazing Sharp under the hood.

Installation

npm install -g img-scale

Usage

img-scale "my_image.png" --width=1600 --format=jpeg --output="resized"

Arguments

argdescriptionrequired
defaultPath to the image to resizeyes
widthThe desired width of the imageyes
formatpng, jpeg, tiff, webp, raw
outputThe filename for the resized image (defaults to {name}.resized.{ext})