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

Google's new algorithm shrinks JPEG files by 35 percent
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.

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.

'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.

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


  • 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.
    NCAA Tournament 2017: Printable Bracket, Locations & Odds To Win March Madness

    NCAA Tournament 2017: Printable Bracket, Locations & Odds To Win March Madness

    McIntosh and Lindsey earned All-Big Ten honors this season, and Law was named to the conference's all-defensive team. The Rams were given a No. 11 seed in the Midwest region and will open against Creighton in Sacramento on Friday.
    Eagles add to WR corps on first day of free agency

    Eagles add to WR corps on first day of free agency

    If Jeffery can produce like he did at his best in Chicago, he will easily be Wentz's best weapon since the Eagles drafted him. In 2016, he played in 12 games and managed to haul in 52 passes for 821 yards with a career-low two touchdowns.
  • AJ Styles vs Shame McMahon all set for WrestleMania

    That will set up the obvious WrestleMania match for the SmackDown tag team titles, but boy was it lackluster and forgettable. Coming out of the Royal Rumble it seemed as if Orton and then WWE Champion John Cena would face each other at Mania .
    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.
  • Jets expected to sign ex-Cowboys CB Morris Claiborne

    Jets expected to sign ex-Cowboys CB Morris Claiborne

    In those games, he has 151 tackles, four fumble recoveries, four interceptions and 27 defended passes. The Jets initially claimed Pennel off waivers from the Packers last month, but then released him.
    Jewish Community Centre in Vancouver gets another bomb threat

    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.
    AJ Bouye signing with the Jaguars, per report

    AJ Bouye signing with the Jaguars, per report

    Bouye's agent informed the franchise the day free agency officially began that he would not be returning to the Lone Star State . What would signing Bouye mean for Prince Amukamara ? The contact expectations for Bouye are unknown at this point.
  • Honey Nut Cheerios Pulled Its Bee Mascot Because Bees Are Disappearing

    Honey Nut Cheerios Pulled Its Bee Mascot Because Bees Are Disappearing

    But a myriad of pressures including habitat loss, pesticide use, disease, and climate change threaten bees' survival. For the first time , a bee species in the continental United States has been declared endangered by the U.S.
    Somali Pirates Release Oil Tanker, Crew Without Ransom

    Somali Pirates Release Oil Tanker, Crew Without Ransom

    Though anti-piracy measures ended attacks on commercial vessels, fishing boats have continued to face attacks. They desperately need to show their grievances by seizing the boat", said Abdiwahab Ahmed, an elder in Alula.
    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.