Force the output images to be progressive

jpegoptim

jpegoptim --all-progressive {{image1.jpeg}} {{image2.jpeg}} {{imageN.jpeg}}

click the source code to copy install jpegoptim on any operating system with command-not-found.com