Minify PNG, JPEG and GIF images. this is based on https://github.com/sindresorhus/gulp-imagemin with stream-limit implementation
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig init Dec 30, 2013
.gitattributes init Dec 30, 2013
.gitignore init Dec 30, 2013
.jshintrc init Dec 30, 2013
.travis.yml init Dec 30, 2013
fixture.png init Dec 30, 2013
index.js Adding more supported file extensions Jul 21, 2016
package.json upgrade all libraries and support latest version of node Jan 1, 2018
readme.md Readme Update Nov 10, 2014
test.js skip unsupported images - fixes #2 Jan 9, 2014

readme.md

gulp-image-optimization

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-image-optimization

Example

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

gulp.task('images', function(cb) {
    gulp.src('src/**/*.+(png|jpg|gif|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.

License

MIT © [Mohamed Rachidi]