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.

Advertisement - Article continues below

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

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

Advertisement
Advertisement - Article continues below
Advertisement - Article continues below

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

The case for a marketing content hub

Transform your digital marketing to deliver customer expectations

Download now

Fast, flexible and compliant e-signatures for global businesses

Be at the forefront of digital transformation with electronic signatures

Download now

Why CEOS should care about the move to SAP S/4HANA

And how they can accelerate business value

Download now

IT faces new security challenges in the wake of COVID-19

Beat the crisis by learning how to secure your network

Download now
Advertisement

Recommended

Visit/mobile/google-android/355804/google-confirms-users-can-make-purchases-via-voice-match-feature
Google Android

Google Assistant can now verify payments using your voice

27 May 2020
Visit/mobile/google-android/355770/google-maps-celebrates-global-accessibility-awareness-day-with
Google Android

Google Maps celebrates Global Accessibility Awareness Day with Accessible Places

22 May 2020
Visit/business/policy-legislation/355687/justice-department-likely-bringing-an-antitrust-lawsuit-against
Policy & legislation

Justice Department likely bringing an antitrust lawsuit against Google

18 May 2020
Visit/mobile/mobile-phones/355656/googles-pixel-team-shaken-up-after-disappointing-pixel-4-launch
Mobile Phones

Google’s Pixel team shaken up after disappointing Pixel 4 launch

14 May 2020

Most Popular

Visit/infrastructure/server-storage/355785/dell-emc-poweredge-r7525-review-an-epyc-core-density-to-make
Server & storage

Dell EMC PowerEdge R7525 review: An EPYC core density to make Intel weep

26 May 2020
Visit/infrastructure/network-internet/355792/intel-releases-wi-fi-and-bluetooth-driver-updates-for
Network & Internet

Intel releases Wi-Fi and Bluetooth driver updates for Windows 10

26 May 2020
Visit/operating-systems/microsoft-windows/355781/microsoft-confirms-further-issues-with-troublesome
Microsoft Windows

Microsoft's latest Windows 10 update is causing yet more issues

26 May 2020