Last Updated on July 22, 2020
MozJPEG with time chart
We observed Guetzli sacrifices encoding time taking over 30 minutes to compress a single 36MP photo. How does MozJPEG fare?
Our tests show that MozJPEG compresses photos in only a few seconds regardless of the number of MPs. You can compress thousands of images in the time it takes to brew a cup of tea.
You’re probably wondering about the entry L-36MP in the chart above. This shows the time taken to compress the same 36MP photo with a very different JPEG encoder called Lepton. Lepton is almost 3 times quicker at compressing this photo.
Let’s now put Lepton under the microscope.
Next page: Lepton – Compression charts
Pages in this article:
Page 1 – Introduction
Page 2 – Guetzli – Compression charts
Page 3 – Guetzli – Time chart
Page 4 – MozJPEG – Compression charts
Page 5 – MozJPEG – Time chart
Page 6 – Lepton – Compression charts
Page 7 – Lepton – Time chart
Page 8 – Summary
According to the tests I made some years ago to be able to store efficiently invoices and other enterprise documents scans into a document management software without artifacts, even on very small letters, tests that I also extended to web sites pictures processing, here is what I found :
using GIMP as the graphic manipulation program with a :
* progressive .jpg encoding for slow connections enabled,
* 4:4:4 Subsampling method,
* Floating-point for the DCT method,
* only exif data kept (no thumbnail or other orientation/dimensions system)
*** and the most important feature : image colors indexed into a 256 colors optimized palette,
the threshold not to cross to be absolutely sure there will be no artifacts in the final picture, nor color problems (except, of course, with gradations, that do not fit in this process) is : 65 %.
My 2¢