In an effort to speed up page loading, Google has introduced an experimental new image format called WebP. The format is intended to reduce the file size of lossy images without compromising the quality. Google’s tests, which involved converting a million images, show that the format delivers an average reduction in file size of 39 percent.
To achieve this reduction, the WebP format relies on the advanced, still-image compression methods that the VP8 video codec uses to compress individual frames. Google has coupled these advanced compression techniques with a very slim container format. Due to its efficacy for compressing lossy images, WebP might someday replace JPEG as the standard format for photos and similar content on the Web.
“We applied the techniques from VP8 video intra frame coding to push the envelope in still image coding,” wrote Google product manager Richard Rabbat in a post on the official Chromium blog. “We also adapted a very lightweight container based on RIFF. While this container format contributes a minimal overhead of only 20 bytes per image, it is extensible to allow authors to save meta-data they would like to store.”