img-rsz
v0.1.2
Published
Simple image resizing CLI that uses Sharp under the hood.
Downloads
8
Readme
img-rsz
A super simple image resizing CLI tool that uses the amazing Sharp under the hood.
Installation
npm install -g img-rsz
Usage
img-rsz "my_image.png" --width=1600 --format=jepg --output="resized"
Arguments
| arg | description | required | | ------- | --------------------------------------------------------------------- | -------: | | default | Path to the image to resize | yes | | width | The desired width of the image | yes | | format | png, jpeg, tiff, webp, raw | | | output | The filename for the resized image (defaults to {name}.resized.{ext}) | |