0.1.1 • Published 8 years agoCLI
img-scale
Licence
MIT
Version
0.1.1
Deps
5
Size
122 kB
Vulns
3
Weekly
0
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
| 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}) |