Google shrinks JPEGs by 35% with Guetzli algorithm

Google aims to slice page load times and data use by making JPEG images more efficient

webpage

Google is shrinking JPEG image files by 35% to help boost online page load times.

Google researchers have developed an algorithm dubbed Guetzli which is apparently the Swiss-German word for "cookie" which slashes file size while maintaining visual quality and compatibility with browsers by not altering the file format, unlike its previous effort at image compression, WebP.

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

WebP slashed file sizes by a quarter, but didn't always interact well with image-editing software, with Photoshop requiring a plugin, or with other browsers, which didn't all support the new file format. Guetzli promises more compression, without users or developers having to adopt a new file format.

Advertisement
Advertisement - Article continues below
Advertisement - Article continues below

The researchers said Guetzli targets one aspect of JPEG compression, quantisation dropping the number of colours in an image to cut its size.

Guetzli specifically targets the quantisation stage in which the more visual quality loss is introduced, the smaller the resulting file. "Guetzli strikes a balance between minimal loss and file size by employing a search algorithm that tries to overcome the difference between the psychovisual modeling of JPEG's format, and Guetzli's psychovisual model, which approximates color perception and visual masking in a more thorough and detailed way than what is achievable by simpler color transforms and the discrete cosine transform," the researchers explained. "However, while Guetzli creates smaller image file sizes, the tradeoff is that these search algorithms take significantly longer to create compressed images than currently available methods."

How does it look? Google said it tested JPEGs compressed using the algorithm on "human raters", and they consistently prefered the Guetzil images over other JPEGs, even if the latter were larger files.

The algorithm has been released as open source, as it's naturally in Google's own interest to cut down data use online. "It is our hope that webmasters and graphic designers will find Guetzli useful and apply it to their photographic content, making users' experience smoother on image-heavy websites in addition to reducing load times and bandwidth costs for mobile users," the researchers added.

Featured Resources

What you need to know about migrating to SAP S/4HANA

Factors to assess how and when to begin migration

Download now

Your enterprise cloud solutions guide

Infrastructure designed to meet your company's IT needs for next-generation cloud applications

Download now

Testing for compliance just became easier

How you can use technology to ensure compliance in your organisation

Download now

Best practices for implementing security awareness training

How to develop a security awareness programme that will actually change behaviour

Download now
Advertisement

Recommended

Visit/security/privacy/354542/google-looks-to-replace-third-party-cookies-in-two-years
privacy

Google looks to replace third-party cookies in two years

15 Jan 2020
Visit/cloud/cloud-computing/354479/google-adds-partners-to-real-time-translation-tools
cloud computing

Google adds partners to real-time translation tools

8 Jan 2020
Visit/hardware/354336/the-it-pro-products-of-the-year-2019-all-the-years-best-hardware
Hardware

The IT Pro Products of the Year 2019: All the year’s best hardware

24 Dec 2019
Visit/marketing-comms/search-engine-optimization-seo/354339/google-is-getting-worse-as-it-does-more
search engine optimization (SEO)

Google is getting worse as it does more

21 Dec 2019

Most Popular

Visit/policy-legislation/data-governance/354496/brexit-security-talks-under-threat-after-uk-accused-of
data governance

Brexit security talks under threat after UK accused of illegally copying Schengen data

10 Jan 2020
Visit/microsoft-windows/32066/what-to-do-if-youre-still-running-windows-7
Microsoft Windows

What to do if you're still running Windows 7

14 Jan 2020
Visit/hardware/laptops/354533/dell-xps-13-new-9300-hands-on-review-chasing-perfection
Laptops

Dell XPS 13 (New 9300) hands-on review: Chasing perfection

14 Jan 2020
Visit/operating-systems/25802/17-windows-10-problems-and-how-to-fix-them
operating systems

17 Windows 10 problems - and how to fix them

13 Jan 2020