Big like and donation from Facebook inject mozjpeg 2.0

July 16, 2014 by Nancy Owano weblog

From the Mozilla Research blog comes the news on Tuesday that the "Open Web" powerhouse behind the Firefox browser is releasing mozjpeg 2.0. The announcement comes from Josh Aas, senior technology strategist at Mozilla Corporation. The release is a result of Mozilla's project that set out to provide a production-quality JPEG encoder to improve compression and at the same time be compatible with most decoders. Mozilla had said in March that this was a new project for working on a production-quality JPEG encoder. JPEG is the popular image format that has shown staying power since 1992. The benefits from this attention to an encoder are seen as reduced page-load times and a better user experience for sites that host images.

Aas said that "mozjpeg 2.0 can reduce file sizes for both baseline and progressive JPEGs by 5% on average compared to those produced by libjpeg-turbo, the standard JPEG library upon which mozjpeg is based . Many images will see further reductions."

What's that you're saying, a JPEG encoder that can create smaller JPEGs without compromising the visual quality of photos? Clearly, Facebook is interested and also said on Tuesday that, in a bid to improve the compression of images on, they are testing mozjpeg 2.0. What's more, the world's largest social network donated $60,000 toward developing the technology, including the mozjpeg 3.0 to come, according to the Mozilla Research announcement.

Aas said that, "Facebook announced today that they are testing mozjpeg 2.0 to improve the compression of images on .com. It has also donated $60,000 to contribute to the ongoing development of the technology, including the next iteration, mozjpeg 3.0."

Commenting in TechRadar, JR Bookwalter said, "Facebook has good reason to embrace such technology: After all, the social network processes millions of photos each and every day, and even a seemingly modest five percent could reap big rewards when it comes to bandwidth."

As for technical details, Aas had said back in March that the next goal in the project would be to improve encoding through the use of trellis quantization, Trellis quantization is an algorithm that can improve data compression. Aas said Tuesday that the major feature in this release is in fact trellis quantization, which he said improves compression for baseline and progressive JPEGs without sacrificing compatibility. "Previous versions of mozjpeg only improved compression for progressive JPEGs," he said.

The cjpeg utility supports JPEG input to simplify re- workflows. Also, options were added to tune for PSNR, PSNR-HVS-M, SSIM, and MS-SSIM metrics. He said another improvement is that "We now generate a single DC scan by default in order to be compatible with decoders that can't handle arbitrary DC scans."

Explore further: Program does impressive file size reductions

More information: *


Related Stories

Program does impressive file size reductions

September 18, 2009

We intuitively understand the value of being able to make things smaller without sacrificing performance. The endeavor produces smaller speakers with bigger sound and a host of portable electronic devices such as digital ...

Google aims to win developers over to image format WebP

February 8, 2013

(—In 2011, news circulated over Google's enhancements to WebP, the image format set to outdistance JPEG and, with more features in a newer version, to take on Portable Network Graphics, another graphics format. ...

New data compression method reduces big-data bottleneck

December 19, 2013

( —In creating an entirely new way to compress data, a team of researchers from the UCLA Henry Samueli School of Engineering and Applied Science has drawn inspiration from physics and the arts. The result is a ...

Mozilla to improve JPEG compression with mozjpeg tool

March 6, 2014

( —Mozilla announced on Wednesday its new project to provide a production-quality JPEG encoder that improves compression. Project mozjpeg will bring better compression efficiency to JPEG, the popular image format ...

Up the WebP chain at Google: Better speed, capability

March 24, 2014

( —Nicholas Doyle, optimization developer at Akamai Technologies, wrote last December about how image data dominates today's web site bytes, contributing to most of what we see. Loading images quickly is imperative, ...

Mozilla at work: See the web evolve with VR

June 28, 2014

Virtual reality for the web is about to get a significant push forward from Mozilla developers, they are working on prototype support for Oculus Rift in the Firefox browser. Peter Bright, technology editor, Ars Technica, ...

Recommended for you

On soft ground? Tread lightly to stay fast

October 8, 2015

These findings, reported today, Friday 9th October, in the journal Bioinspiration & Biomechanics, offer a new insight into how animals respond to different terrain, and how robots can learn from them.

1 comment

Adjust slider to filter visible comments by rank

Display comments: newest first

Lex Talonis
4 / 5 (2) Jul 16, 2014
Facebook = Sleaze.

Mozilla = raking in loads of money from Google and now Facebook.

And their memory hog shit browser still leaks and chews up terrorbites of data.

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.