Overview of mozjpeg
mastermozjpeg is a fork of libjpeg-turbo designed to reduce JPEG file sizes and web page load times. It achieves better compression through optimized Huffman trees, progressive entropy coding, separate DCT coefficient scans, and Trellis quantization.
Note on Performance: mozjpeg is highly asymmetric. It is significantly slower at compressing images than libjpeg-turbo or libjpeg, making it unsuitable for real-time compression. It is best used as part of an offline web encoding workflow.