gulp-imagemin Questions

1

It seems there's an error with image optimizer libraries. The same error happens on gulp-image-min and some other gulp plugins. Anyone can help? My gulp task: var image = require('gulp-image');...
Bessiebessy asked 21/7, 2016 at 9:3

1

This is my Gulp task: //Image Optimization gulp.task( 'imagemin', function () { return gulp.src( imageDir + '**/*.{png,jpg,JPG,svg}' ) .pipe( imagemin( { progressive: true, use: [ pngquant({q...
Keown asked 25/1, 2016 at 14:13

1

Solved

I am trying to get the best setup possible for compressing pngs. I have found there are some plugins available here for imagemin: https://www.npmjs.com/browse/keyword/imageminplugin I have tried ...
Fenian asked 6/10, 2016 at 11:34

2

Solved

I have a gulp task which uses gulp-imagemin to compress images. When I add new files to this directory I'd like for this task to compress them as well. I read that gulp.watch doesn't trigger on new...
Rosenkrantz asked 19/6, 2014 at 0:4

3

Solved

I have a symlink in my images folder that points to another folder containing external images provided by a third party library (managed by bower - gotta love javascript). As part of my build proce...
Polypody asked 22/1, 2015 at 0:23

2

Solved

This is source PNG with transparency: https://i.sstatic.net/6XZBB.png (13.3kB) optimized using compresspng.com: https://i.sstatic.net/Ts1cM.png (5.4kB) optimized using tinypng.com: https://i.sst...
Amadeo asked 6/3, 2015 at 10:2
1

© 2022 - 2024 — McMap. All rights reserved.