gulp-optipng

0.0.2 • Public • Published

gulp-optipng Build Status

Lossless minification of PNG with optipng

*Issues with the output should be reported on the optipng issue tracker

Install

Install with npm

npm install --save-dev gulp-optipng

Example

var gulp = require('gulp');
var optipng = require('gulp-optipng');
 
var options = ['-o2'];
 
gulp.task('default', function () {
    gulp.src('src/*.png')
        .pipe(optipng(options))
        .pipe(gulp.dest('dist'));
});

API

optipng(options)

See the optipng options.

License

MIT © Amey Parulekar

Package Sidebar

Install

npm i gulp-optipng

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • ameyp