# gulp-image-optimization

> Minify PNG, JPEG and GIF images. this is based on https://github.com/sindresorhus/gulp-imagemin with stream-limit implementation

Latest version **0.1.3** (published 2014-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-image-optimization
pnpm add gulp-image-optimization
yarn add gulp-image-optimization
bun add gulp-image-optimization
```

## 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.3 |
| Published | 2014-02-11 |
| First published | 2014-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Author | Mohamed Rachidi |
| Maintainers | firetix |
| Keywords | gulpplugin, image-min, image, img, picture, photo, minify, minifier, compress, png, jpg, jpeg, gif |

## Links

- npm: https://www.npmjs.com/package/gulp-image-optimization
- Repository: https://github.com/firetix/gulp-image-optimization
- Issues: https://github.com/firetix/gulp-image-optimization/issues
- npm.io page: https://npm.io/package/gulp-image-optimization

## Dependencies (6)

- [filesize](https://npm.io/package/filesize.md) ~2.0.0
- [gulp-util](https://npm.io/package/gulp-util.md) ~2.2.0
- [image-min](https://npm.io/package/image-min.md) ~0.1.0
- [temp-write](https://npm.io/package/temp-write.md) ~0.1.0
- [graceful-fs](https://npm.io/package/graceful-fs.md) ~2.0.0
- [map-stream-limit](https://npm.io/package/map-stream-limit.md) ~1.0.2

## 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.1.3 (latest) — 2014-02-11
- 0.1.2 — 2014-02-11
- 0.1.1 — 2014-02-11
- 0.1.0 — 2014-02-11

## README

# [gulp](https://github.com/wearefractal/gulp)-image-optimization 

> Minify PNG, JPEG and GIF images with [image-min](https://github.com/kevva/image-min)

*Issues with the output should be reported on the image-min [issue tracker](https://github.com/kevva/image-min/issues).*

## Install

Install with [npm](https://npmjs.org/package/gulp-image-optimization)

```
npm install --save-dev gulp-image-optimization
```


## Example

```
var gulp = require('gulp');
var imageop = require('gulp-image-optimization');

gulp.task('images', function(cb) {
    gulp.src(['src/**/*.png','src/**/*.jpg','src/**/*.gif','src/**/*.jpeg']).pipe(imageop({
        optimizationLevel: 5,
        progressive: true,
        interlaced: true
    })).pipe(gulp.dest('public/images')).on('end', cb).on('error', cb);
});
```

## API

### imageop(options)

See the image-min [options](https://github.com/kevva/image-min#options).


## License

MIT © [Mohamed Rachidi]

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