Google open-sources JPEG encoder that reduces file sizes by 35%

Google open-sources JPEG encoder that reduces file sizes by 35%
Google open-sources JPEG encoder that reduces file sizes by 35%
Author

18 March, 2017

The new JPEG encoder is called Guetzli, and the company has made it open source and available in the Github repository so anyone can use it.

"From the practical viewpoint this is very similar to our Zopfli algorithm, which produces smaller PNG and gzip files without needing to introduce a new format, and different than the techniques used in RNN-based image compression, RAISR, and WebP, which all need client and ecosystem changes for compression gains at internet scale", Google Research Europe software engineers Robert Obryk and Jyrki Alakuijala said in a blog post. To accomplish this, Guetzli trades visual quality for a smaller file size at the quantization stage of image compression.

Google has named the new encoder Guetzli, the Swiss German term for cookie.

In the example below, you can see the uncompressed original image on the left, libjpeg (another image compression tool) in the middle and Guetzli on the right.

JPEG compression has several steps, including color space transformation, discrete cosine transformation, and quantization.

Alabama jobless rate rises to 6.4 percent
Therefore, nonfarm payroll employment is really a count of the number of jobs, rather than the number of persons employed. Employment in other service, including repair-maintenance services and membership organizations, rose by 1,900.

Jewish Community Centre in Vancouver gets another bomb threat
Governor Andrew Cuomo is calling for an investigation into another bomb threat at a Western New York Jewish Community Center . The Indianapolis Jewish Community Center has received an outpouring of support following two bomb threats in about two weeks.

SEC Tournament 2017 bracket: Kentucky claims the SEC
At one point, Arkansas' Jaylen Barford appeared to step on Isaiah Briscoe after the United Kingdom player tried to take a charge. Then Fox drained a 17-footer to put United Kingdom up 13-9 at 12:34 only see Arkansas bounce back to tie.

Secondly, Guetzli would seem set to have a significant resource footprint compared to the long-established image compression libraries now in use (mostly over Apache or other Linux-based frameworks).

The underlying compression algorithms behind popular implementations of JPEG have always been lossy; once a web version has been generated from a high-quality original master, the lost pixel information can not be recovered (except, arguably by AI - another field of interest for Google's image researchers). "We think this makes the slower compression a worthy tradeoff".

Guetzli's files are smaller, yes, but it takes the encoder a bit longer than other compression methods to shrink images. If Guetzli does work as well as Google claims, this could potentially be a solid libjpeg replacement for web developers, designers, or photographers.

Slower compression is likely to be an insignificant factor for desktop design environments, but has far bigger usage and resource ramifications for the millions of process threads which run every day over the internet, converting selfies, food shots and other user-generated content into optimised formats for viewing. However, tests have found that people preferred images compressed using Guetzil to those encoded with libjpeg, even when the latter images were slightly larger.

JPEG files are one of the most commonly used and popular image file formats in the world.


More news


  • GoPro to Lay Off 17% of the WorkForce

    There are two words that Wall Street is using to describe its concerns with GoPro right now: Execution risk. After upcoming fiscal quarter results, all eyes will be on the prospects for the next reporting quarter.
    Unmanned exploration sub named 'Boaty McBoatface' preparing for first expedition

    Unmanned exploration sub named 'Boaty McBoatface' preparing for first expedition

    To assist them, the scientists will use an autonomous submarine that was famously named Boaty McBoatface by the collective genius of the internet.
    Starbucks stores in the USA  and Canada getting limited-time spring cups

    Starbucks stores in the USA and Canada getting limited-time spring cups

    Sadly, the coffee containers won't be around for very long as they are debuting on March 16 and going away a few days later. Their first seasonally inspired cups arrived over 20 years ago making the colorful cups a bit of a tradition.
  • Ghost Calls Causing Delays In 911 Operator Response Times

    Ghost Calls Causing Delays In 911 Operator Response Times

    A grieving mother is seeking answers after the death of her six-month-old son, Brandon Alex . Bridget Alex blames the glitch for the death of her six-month-old son who fell off a bed.
    Dutch voters set to leave all to play for

    Dutch voters set to leave all to play for

    The far-right Marine Le Pen is set to make the second-round run-off of France's presidential election in May. The Dutch election is expected to have a massive turn out with some areas reporting up to 100 percent.
    WATCH NOW: McDonald's Plans to Honor Hero Drive-Thru Worker

    WATCH NOW: McDonald's Plans to Honor Hero Drive-Thru Worker

    Surveillance video shows the SUV narrowly missing another vehicle before hitting a curb. He says she became unconscious and her foot slipped off the brake. "I never panicked.
  • But why?

    But why? "Clear Knee Mom Jeans" baffle online shoppers

    That being said, others were more open-minded and supported the clear knee style saying, "Can someone buy these for me please". Have you ever wanted to wear a pair of jeans that show off your kneecaps? If you can't resist you can get a pair here .

    Preet Bharara Fired by Trump Team After Refusing to Resign

    Andrew Cuomo. "The way the Obama administration handled it was appropriate and respectful and classy", he said. Preet Bharara took to Twitter to announce his firing yesterday afternoon. "I did not resign", he said.
    Convicted In 2012 Maruti Manesar Plant Violence

    Convicted In 2012 Maruti Manesar Plant Violence

    Administration had imposed Section 144 in the district court premises and within 500 metres of the Maruti Suzuki plant in Manesar. The violence had left Maruti Suzuki Human Resource Department General Manager Ashwin Kumar Dev dead and over 50 persons injured.
  • Adrian Peterson's Time With The Vikings Is Likely Over

    Murray proved to be a valuable back and one well more than worth the sixth-round pick the Raiders spent on him in the 2013 draft. Lacy's decision ends chances of Peterson perhaps signing with Seahawks after he had visited with them Sunday and Monday.
    Hailing 'Israeli genius,' PM congratulates Mobileye on Intel deal

    Hailing 'Israeli genius,' PM congratulates Mobileye on Intel deal

    Mobileye and Intel already are collaborating with BMW on a project that will see the production of 40 self-driving test cars. Mobileye brings the industry's best automotive-grade computer vision and strong momentum with automakers and suppliers.
    Appleton gas prices fall slightly last week

    Appleton gas prices fall slightly last week

    The supervisor at this station said they dropped their prices because a competitor across the street kept lowering theirs. Nearby, drivers in Pinellas County were paying an average of $2.13, with those in Hillsborough slightly higher at $2.15.