Waiting for images to load is no fun. Neither is paying for bandwidth to serve or receive those images. We've reported in the recent past on Google's efforts to get more detail out of small images and reduce file sizes of images and other web files. The company's Guetzli JPEG encoding algorithm improvement effort looks to have a greater immediate impact because of its ability to potentially reduce image file sizes by up to 35% at the same image quality level when compared to traditional encoders, while maintaining decoding compatibility with existing browsers.
Guetzli is the product of Google Research Europe, and has been released under the Apache open source license. The development team says the overall approach is similar to the one used in Google's earlier Zopfli algotithm used to compress gzip files and PNG images, and shares little with the RAISR and WebP methods that require "ecosystem changes for compression gains at internet scale," a fancy way of saying they're new formats and need big changes to server and browser software.
JPEG compression has several steps, including color space transformation, discrete cosine transformation, and quantization. According to the Guetzli developers, quantization is the key step where visual quality loss is traded for compression efficiency. Google says Guetzli uses a search algorithm to reduce the difference betweem JPEG's psychovisual modeling and the algorithm's own psychovisual model, which it says "approximates color perception and visual masking in a more detailed way." The result is more detail with smaller file sizes, at a cost of substantially higher resource utilization at compression time.
Google says Guetzli can produce smaller file sizes with the same level of quality. The company performed experiments where images of equal file size were shown to study participants who consistently prefered the imaged compressed using Guetzli. It's worth noting that even though the encoding process is slower, that should have a relatively small real-world on servers since image downloads vastly outnumber uploads, where the processing takes place.
A new JPEG compression algorithm doesn't sound as exciting as a method of enhancing small images like fictional forensics investigators in television shows do all the time, but the ability to reduce file sizes without requiring updates to browsers is probably more useful, particularly in the near future. The developers close their notes with wishes that others will pick up the baton and apply the techniques to other image fromats and to video.
|Gigabyte SA-SBCAP3350 puts formidable power on a single board||13|
|Alphacool Eisblock HDX-2 and HDX-3 help M.2 SSDs beat the heat||11|
|Corsair Lighting Pro Expansion Kit lets builders turn up the lights||10|
|Adata D16750 power bank is tougher than the average juice pack||16|
|Deals of the week: fast memory, an AM4 motherboard, and more||18|
|Corsair RMx White Series PSUs take a walk on the snowy side||24|
|Intel crams 100 GFLOPS of neural-net inferencing onto a USB stick||43|
|Toshiba's XG5 1TB NVMe SSD reviewed||10|
|Microsoft and Johnson Controls put Cortana in a thermostat||26|