gulp-imagemin poor compression rate -


i've run images on site through gulp-imagemin in order compress them , decrease size. i've used several plugins available gulp-imagemin. definition of 'compress' task below:

gulp.task('compress', function () {     return gulp.src('themes/rubbish_taxi/images/*')         .pipe(imagemin({             progressive: true,             optimizationlevel: 7,             svgoplugins: [{removeviewbox: false}],             use: [pngquant(), jpegtran(), optipng(), gifsicle()]         }))         .pipe(gulp.dest('themes/rubbish_taxi/images/dist')); }); 

unfortunately, gulp-imagemin seems perform poorly on compressing *.jpg images. i've managed save 10kb on .jpg files weighed ~300kb before run compression task. regardless of optimizationlevel being set 7 (the highest value).

when saved same image 'optimized web' in gimp, size reduced ~50%.

why gulp-imagemin ineffective, , how can compress images in bulk?

how using imagemin-jpeg-recompress?


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -