0.0.2 • Published 10 years ago

gulp-optipng v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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