# gulp-images-resizer-crop-fix

> Gulp images resizer (credit to: odrick/gulp-images-resizer)

Latest version **0.0.8** (published 2019-07-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-images-resizer-crop-fix
pnpm add gulp-images-resizer-crop-fix
yarn add gulp-images-resizer-crop-fix
bun add gulp-images-resizer-crop-fix
```

## 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.0.8 |
| Published | 2019-07-23 |
| First published | 2019-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alexander Norinchak |
| Maintainers | michael.markie |
| Keywords | gulp, gulpjs, gulpplugin, image, images, resize, resizer |

## Links

- npm: https://www.npmjs.com/package/gulp-images-resizer-crop-fix
- Repository: https://github.com/michaelmarkie/gulp-images-resizer
- Homepage: https://github.com/michaelmarkie/gulp-images-resizer#readme
- Issues: https://github.com/michaelmarkie/gulp-images-resizer/issues
- npm.io page: https://npm.io/package/gulp-images-resizer-crop-fix

## Dependencies (3)

- [jimp](https://npm.io/package/jimp.md) ^0.2.28
- [tinify](https://npm.io/package/tinify.md) ^1.5.0
- [through2](https://npm.io/package/through2.md) ^2.0.3

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.0.8 (latest) — 2019-07-23
- 0.0.7 — 2019-06-21

## README

# gulp-images-resizer

[![Stats](https://nodei.co/npm/gulp-images-resizer.png?downloads=true&stars=true)](https://www.npmjs.com/package/gulp-images-resizer) \
Images resizer for gulp

# Install
   
$ npm install gulp-images-resizer

# Usage

```js
let resizer = require('gulp-images-resizer');

gulp.task('resize', function() {
    return gulp.src('src/**/*.*')
	.pipe(resizer({
            format: "png",
            width: "50%"
        }))
	.pipe(gulp.dest('dest/'));
});
```

# Available options

* `format` - fromat of output files (png, jpg, gif, bmp or *). Default: *
* `width` - width of output images (fixed, percentage or -1 for auto). Default: **-1**
* `height` - height of output images (fixed, percentage or -1 for auto). Default: **-1**
* `noCrop` - disable the crop feature. If true it will choose the max size between height/width. Default: **false**
* `quality` - quality of output images (from 0 to 100). Default: **100**
* `tinify` - tinify images using [TinyPNG](https://tinypng.com/). Default: **false**
* `tinifyKey` - [TinyPNG key](https://tinypng.com/developers). Default: **""**

---
_Source: https://npm.io/package/gulp-images-resizer-crop-fix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
