Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
npm install gulp-pngquant
in gulpfile.js
var gulpPngquant = require('gulp-pngquant');
gulp.task("default", function() {
return gulp.start('image');
});
gulp.task('image', function() {
gulp.src('путь до папки/*.png')
.pipe(gulpPngquant({
quality: '65-80'
}))
.pipe(gulp.dest('путь до папки'));
});
It's easy to search in Google
https://losst.ru/szhatie-png-v-linux
Have you looked?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question