Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmpas/resize-cli
Terminal client to resize images keeping the aspect ratio
https://github.com/jmpas/resize-cli
cli image javascript jpg png resize
Last synced: 2 months ago
JSON representation
Terminal client to resize images keeping the aspect ratio
- Host: GitHub
- URL: https://github.com/jmpas/resize-cli
- Owner: jmpas
- Created: 2017-01-28T17:24:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-03T01:47:10.000Z (about 8 years ago)
- Last Synced: 2024-12-01T11:17:29.391Z (2 months ago)
- Topics: cli, image, javascript, jpg, png, resize
- Language: JavaScript
- Homepage:
- Size: 1.14 MB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# $ resize
[![Build Status](https://travis-ci.org/Nipher/resize-cli.svg?branch=master)](https://travis-ci.org/Nipher/resize-cli)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)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