Looking for the right balance for JPEG images of sufficient quality to maintain with the lowest file size possible for it to be published through the web without a negative impact on page load, Mozilla has just announced the launch version 2.0 of its encoder mozjpeg images to JPEG files.
This release has received support from Facebook social network , who has donated an amount of $ 60,000 to Mozilla to keep continuing with this project, even with a view to launch the next version, 3.0. Moreover, as pointed out in a statement Facebook today, this encoder has begun testing within Facebook.com to improve compression of images. In this sense, Stacy Kerkela, software engineering manager at Facebook, notes that:
We look forward to seeing the potential benefits mozjpeg 2.0 might bring in optimizing images and creating an improved experience for people to share and connect on Facebook
Mozilla says that version 2.0 of its encoder reduces the file size of both baseline and progressive JPEG by 5% on average, and may even significantly greater reductions in many images. Note that, on the one hand, this new version also improves the images saved in baseline format, and secondly, that it makes use of trellis quantization, a compression algorithm that has been traditionally used by coders video. In addition to the above, this new version also includes support for entries in JPEG, so it is easier to recompress existing images, along with a number of introduced changes that improve compatibility with existing JPEG decoders.
Regarding the position of the company in reference to other image formats launched by other companies, such as JPEG XR Microsoft or WebP of Google, which is used by Google itself in its services for browsers Chrome, among others, notes would not provide sufficient respect to JPEG best to justify the cost of adding them to the web, as indicated Andreas Gal, CTO of Mozilla, as well as admitting that WebP formats offer a number of other features that are not available in JPEG format as is support for animations.