# img-scale

> Simple image resizing CLI that uses Sharp under the hood.

Latest version **0.1.1** (published 2018-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install img-scale
pnpm add img-scale
yarn add img-scale
bun add img-scale
```

Provides the command `img-scale`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2018-06-26 |
| First published | 2018-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 121.6 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | Mark Murray |
| Maintainers | markmur |

## Links

- npm: https://www.npmjs.com/package/img-scale
- npm.io page: https://npm.io/package/img-scale

## Dependencies (5)

- [bytes](https://npm.io/package/bytes.md) ^3.0.0
- [chalk](https://npm.io/package/chalk.md) ^2.3.2
- [sharp](https://npm.io/package/sharp.md) ^0.19.1
- [yargs](https://npm.io/package/yargs.md) ^11.0.0
- [eslint](https://npm.io/package/eslint.md) ^5.0.1

## Recent versions

- 0.1.1 (latest) — 2018-06-26
- 0.1.0 — 2018-03-05

## README

# img-scale

A super simple image resizing CLI tool that uses the amazing [Sharp](https://github.com/lovell/sharp) under the hood.

### Installation

```bash
npm install -g img-scale
```

### Usage

```bash
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}) |          |

---
_Source: https://npm.io/package/img-scale · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
