gulp-imagemin

Minify PNG, JPEG and GIF images

npm install gulp-imagemin
151 downloads in the last day
1 997 downloads in the last week
7 061 downloads in the last month

gulp-imagemin Build Status

Minify PNG, JPEG and GIF images with image-min

Issues with the output should be reported on the image-min issue tracker.

Install

Install with npm

npm install --save-dev gulp-imagemin

Example

var gulp = require('gulp');
var imagemin = require('gulp-imagemin');

gulp.task('default', function () {
    gulp.src('src/image.png')
        .pipe(imagemin())
        .pipe(gulp.dest('dist'));
});

API

imagemin(options)

See the image-min options.

License

MIT © Sindre Sorhus

npm loves you