1Mozilla JPEG Encoder Project 2 3MozJPEG reduces file sizes of JPEG images while retaining quality and 4compatibility with the vast majority of the world's deployed decoders. 5 6MozJPEG is based on libjpeg-turbo. It's compatible with libjpeg API and ABI, and 7can be used as a drop-in replacement for libjpeg. MozJPEG makes tradeoffs that 8are intended to benefit Web use cases and focuses solely on improving encoding, 9so it's best used as part of a Web encoding workflow. 10 11MozJPEG is meant to be used as a library in graphics programs and image 12processing tools. We include a demo cjpeg tool, but it's not intended for 13serious use. We encourage authors of graphics programs to use MozJPEG's C API 14instead. 15