rhewitt22 / resize-cli

Terminal client to resize images keeping the aspect ratio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$ resize

Build Status XO code style

Terminal client to resize images keeping the aspect ratio

$ npm i -g resize-cli

Usage

$ resize ./images/*

Options

  • --suffix, -s Suffix for all new generated files
  • --max-width, -w Max width
  • --max-height, -h Max height
  • --out-dest, -o Output destination path

Examples

  • $ resize ./images/* -w 450 -h 450
  • $ resize ./images/* -w 450 -h 450 -o ./dist/images/
  • $ resize ./images/* -w 450 -h 450 -o ./dist/images/ -s ".min"

License

MIT License

About

Terminal client to resize images keeping the aspect ratio


Languages

Language:JavaScript 100.0%