| 1 | Mozilla JPEG Encoder Project [](https://ci.appveyor.com/project/kornel/mozjpeg-4ekrx) |
| 2 | ============================ |
| 3 | |
| 4 | MozJPEG reduces file sizes of JPEG images while retaining quality and compatibility with the vast majority of the world's deployed decoders. |
| 5 |
| 6 | MozJPEG is based on [libjpeg-turbo](https://github.com/libjpeg-turbo/libjpeg-turbo). **Please send pull requests to libjpeg-turbo** if the changes aren't specific to newly-added MozJPEG-only compression code. This project aims to keep differences with libjpeg-turbo minimal, so whenever possible, improvements and bug fixes should go there first. |
| 7 |
| 8 | It's compatible with libjpeg API and ABI, and can be used as a drop-in replacement for libjpeg. MozJPEG makes tradeoffs that are intended to benefit Web use cases and focuses solely on improving encoding, so it's best used as part of a Web encoding workflow. |
| 9 |
| 10 | MozJPEG is meant to be used as a library in graphics programs and image processing tools. We include a demo `cjpeg` tool, but it's not intended for serious use. We encourage authors of graphics programs to use MozJPEG's [C API](libjpeg.txt) instead. |
| 11 |
| 12 | ## Features |
| 13 |
| 14 | * Progressive encoding with "jpegrescan" optimization. It can be applied to any JPEG file (with `jpegtran`) to losslessly reduce file size. |
| 15 | * Trellis quantization. When converting other formats to JPEG it maximizes quality/filesize ratio. |
| 16 | * Comes with new quantization table presets, e.g. tuned for high-resolution displays. |
| 17 | * Fully compatible with all web browsers. |
| 18 | * Can be seamlessly integrated into any program using libjpeg. |
| 19 |
| 20 | ## Releases |
| 21 |
| 22 | * [Latest release](https://github.com/mozilla/mozjpeg/releases/latest) |
| 23 | * [Overview of 3.0 features](https://calendar.perfplanet.com/2014/mozjpeg-3-0/) |
| 24 | * [Version 2.0 Announcement](https://blog.mozilla.org/research/2014/07/15/mozilla-advances-jpeg-encoding-with-mozjpeg-2-0/) |
| 25 | * [Version 1.0 Announcement](https://blog.mozilla.org/research/2014/03/05/introducing-the-mozjpeg-project/) |
| 26 |
| 27 | ## Compiling |
| 28 |
| 29 | See [BUILDING](BUILDING.md). |
| 30 |