News Worms
News Worms

Google Has a New Algorithm That Shrinks JPEGs by 35%

Google Has a New Algorithm That Shrinks JPEGs by 35%

Guetzli [guɛtsli] - cookie in Swiss German - is a JPEG encoder for digital images and web graphics that can enable faster online experiences by producing smaller JPEG files while still maintaining compatibility with existing browsers, image processing applications and the JPEG standard.

Check out these comparisons Google offered up to show Guetzli compared to an uncompressed image or an image compressed using the common libjpeg encoder.

This potentially would allow webmasters for example to create much more compact websites that take less time (and data) to load - a potential boon to smartphone users surfing the web on mobile devices. "However, while Guetzli creates smaller image file sizes, the tradeoff is that these search algorithms take significantly longer to create compressed images than now available methods". Their Guetzli algorithm targets the quantization stage to reduce the size of image files by swapping it out for loss in visual quality.

Now Google thinks it's found a better way to compress JPEG.

The JPEG encoder is open-source and available for you to download and implement in your own projects from this GitHub repository.

Google isn't the only one trying this approach. This is a significant improvement over current JPEG compression techniques. Google's tests showed that Guetzli outdoes Mozilla's tool by 29 to 45 percent. The original image is on the left. That may seem like a deal-breaker but because of how well it performs in the quality department, Google feels the slower compression time is a worthy trade-off.

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.

Another problem: speed of compressing images. The second image is encoded with libjpeg and the third image uses Guetzli. It uses an advanced psychovisual model that attempts to strike a balance between small file sizes and image fidelity by honing in on the kind of details that the human eye is drawn to, according to a post published to the Google Research Blog.


editors' picks

March 18, 2017
PS4 Sales Held 51% of Console Market in 2016
The console came out in Japan on November 11th, 2006 so it's almost been 11 years since the console first shipped out to stores. A recent report from a market researcher showed that Sony held a huge 57 percent of the world's console market for 2016.

March 18, 2017
Stefanik opposes Trump plan to eliminate National Endowment for the Arts funding
Opera for the Young, a program that goes into Madison-area schools, has received $77,000 directly from the NEA since 2013. About 100,000 students a day attend Beyond the Bell programs, said Alvaro Cortes, the executive director of the program.

March 17, 2017
Schumer: Democrats remain skeptical of Gorsuch, may block him
Senate confirmation hearings for Supreme Court nominee Neil Gorsuch are set to take place next week. Minority Leader Chuck Schumer - were in office at the time .

March 17, 2017
How good could Virginia Tech get under Buzz Williams?
After losing 71-48 in Charlottesville on February 1, the Hokies beat the visiting Cavaliers 80-78 in two overtimes 11 days later. I get a lot of feedback because they don't sell them at the Nike store anymore because they're old", LeDay said.

March 17, 2017
$3M Patriot missile takes down $200 drone
Some groups have reportedly started converting commercial drones into bombers to fight security forces. But a single missile can cost between $2.5 million and $3.4 million.

March 17, 2017
Coleman says Woodburn makes the grade based on talent
He's training with worldwide players everyday so it's a small transition and there won't be any problem for him. Liverpool midfielder Ben Woodburn has also been named in Wales' squad for the first time.

March 17, 2017
State GST and Union Territory GST get council's nod
The GST council had so far approved the law related to legislation, payment, refunds, invoices, returns in their previous meeting. The GST council has meet from time to time to resolve the issues regarding the implementation of the pan-India tax regime.

March 17, 2017
Tories could face election fraud cases across country
TORY MP Craig Mackinlay was interviewed for six hours under caution last Friday over his election expenses, The Sun can reveal. It has also referred to police the Tories' former treasurer Simon Day, who had a legal duty to ensure accurate accounts.

March 17, 2017
Man City knocked out of Champions League in thrilling encounter
We can't go there relaxed", the Ivorian midfielder told reporters. "We know that City likes to play with a high defensive line". We were a little slow in everything we did in the first half, that's why playing against Europe's top teams is hard .

March 16, 2017
Trump nominates Gottlieb to head FDA
Gottlieb's experience also drew sharp criticism from consumer advocates who said he is too deeply tied to the industry. Similarly, pharma/biotech news site Fierce went with the headline "Trump picks industry favorite Gottlieb to run FDA".