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.

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.

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.

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.

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


  • 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.
    'The Flash' season 3, episode 17 spoilers: What will happen in

    'The Flash' season 3, episode 17 spoilers: What will happen in "Duet"?

    It was great seeing Rick Cosnett's Eddie Thawne, Robbie Amell's Ronnie Raymond and Wentworth Miller's Captain Cold back in action. He also hinted that "only one of us could live" (referring to either Iris or Barry), and that Barry "took everything" from him.
    Passengers vote Changi 'best' for the fifth year in a row

    Passengers vote Changi 'best' for the fifth year in a row

    The survey was conducted between last July and February and covered 550 airports. Without their support, we could not have achieved this.
  • Alabama jobless rate rises to 6.4 percent

    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.
    How to watch Juventus vs. Porto online

    How to watch Juventus vs. Porto online

    On paper, Porto give little away to Juventus - like Juve, the Portuguese have won the competition twice, in 1987 and 2004. Mark Donaldson and Craig Burley predict who will move on to the Champions League quarterfinals.
    Rex Burkhead signs with Patriots

    Rex Burkhead signs with Patriots

    He can be used on early downs or in a pass-catching role, and he has the agility to potentially split out as a receiver at times. The Patriots now have three running backs with similar skill sets in Dion Lewis, James White and Burkhead.
  • USA Women's National Hockey Team Boycotting Championships

    USA Women's National Hockey Team Boycotting Championships

    The statement has been retweeted with resounding support from other athletes, including Megan Rapinoe and Alex Morgan of the U.S. Just as the men are paid a living wage and are supported even if they don't win every championship, so should the women.
    Winter Storm Impacts Flights at Lambert Airport

    Winter Storm Impacts Flights at Lambert Airport

    US airlines have scrapped about 5,400 flights Tuesday as a late-winter storm dumps snow on some of the nation's busiest airports. All American flights out of Boston's Logan Airport on Tuesday also were canceled with plans to resume operationsWednesday.
    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.
  • Durban looses rights to host the 2022 Commonwealth Games

    Durban looses rights to host the 2022 Commonwealth Games

    But the BBC report that Durban are about to bow out leaving the way clear for another option with Liverpool a prime candidate to step in.

    Dutch Prime Minister wants to de-escalate diplomatic row with Turkey

    Dutch police dispersed Turkish citizens who took to the streets to protest police treatment of the Turkish family minister. Minister Fatima Betul Sayan Kaya tweeted: "Netherlands is violating all global laws, conventions and human rights".
    Turn and Test for Daylight Savings This Weekend

    Turn and Test for Daylight Savings This Weekend

    For people that are unable to buy or install alarms, Temple Fire and Rescue offers free installation services. Smoke rises, so the ideal location for a smoke alarm is on the ceiling - in the center of the room is best.