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.

follow

editors' picks

March 18, 2017
GOP leaders acknowledge health bill changes, might delay vote
Many of them are from states where voters have gained Medicaid and other health insurance under the 2010 statute. Frank LoBiondo said there was a "nice exchange of information" with Pence about moderates' concerns.

March 17, 2017
EPA Refuses to Release Pruitt Emails, Leaves Public in Dark
Pruitt has sparked outrage with his latest expression of climate change skepticism. This time, that carbon dioxide is not the primary contributor to climate change.

March 17, 2017
Kevin Love and Kyle Korver should return soon for Cavs
Coach Tyronn Lue said Love would be on an unspecified minutes restriction and may not be able to play in back-to-back games. One night after facing the Clippers, the Cavs stay in Los Angeles to play the Lakers.

March 17, 2017
Mom: Clogged 911 calls led to baby's death in Dallas
Since November, the city of Dallas has reportedly been having problems with "ghost calls" overwhelming the 911 call center. Regional news station WFAA reports that this past Saturday, 442 callers were put on hold for an average 38 minutes.

March 17, 2017
GoPro expects first-quarter revenue at top end of its forecast
It is the defined level at which a stockholder or street trader aims to close his trade and earn actual profits. The stock exchanged hands with 3.88 million shares contrast to its average daily volume of 4.22 million shares.

March 17, 2017
Trump Declares War on EPA Mileage Standards
The EPA had to file its midterm review this year and they rushed it to confirm the standards before Trump took over in January. The Clean Power Plan was an Obama-era initiative that compelled U.S. states to cut down their carbon dioxide emissions.

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
Adrian Peterson will not return to Vikings
Peterson is still a free agent, and a reunion with the Vikings has always been considered a possibility for the running back. However, the running back leaves behind a complicated legacy due to his being indicted on a child abuse charge in 2014.

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.