I
I
ivan1kazantsev2017-03-09 17:59:48
HTML
ivan1kazantsev, 2017-03-09 17:59:48

How do you make your jpegs progressive?

In general, I did not find a gallp plugin that would not optimize the image, but only make it progressive. But oh well, how do you do it? Maybe this will work for me too ;)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2017-03-09
@ivan1kazantsev

For automation, use the plugin https://github.com/imagemin/imagemin-jpegtran with the progressive:true option
UPD
I somehow didn’t bother much in this aspect of optimization, but your question prompted me to refine my task. As a result, the progressive mode works and the task looks like this now

var imagesTask = function () {
    return gulp.src([paths.src])
        .pipe(changed(paths.build))
        .pipe(imagemin([
            imagemin.gifsicle(),// default
            imagemin.jpegtran({
                progressive: true
            }),
            imagemin.optipng(),// default
            imagemin.svgo()// default
        ]))
        .pipe(gulp.dest(paths.build))
        .pipe(browserSync.stream())
};

https://github.com/delphinpro/gulp-starter/blob/ma...

D
denevseev2, 2018-05-09
@denevseev2

This service makes jpeg progressive - https://optipic.io/ru/
The image optimization function can be disabled in the settings (by specifying in the compression settings - do not compress).
And also specify in the settings that you need to work only with jpg / jpeg.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question