Advanced library for Google's WebP image format


Google released its WebP library (pronounced "Weppy") to create slimmer image files for the web in version 0.2. The update supports alpha channels and lossless compression and thus includes the features that are associated with the Web PNG. The specification Google had expanded in November, now is also the source of the extended library for download.

WebP images are compared to PNGs about a quarter would be smaller. Possible is a good compression performance by entropy coding and bit pattern looks frequent pattern replaced by short and less frequent with longer strings. Thus, the process results in higher efficiency than, for example, Lempel-Ziv algorithms with fixed strings on which the compression algorithms of GIF and PNG are based.

Also get a color cache for the most recently used, and colors of traditional methods such as Huffman coding is used. The developer Jyrki Alakuijala explained in Google Developers Blog that the WebP team ever "merely scratches the surface," and looks forward to further progress in the compression performance.

WebP also supports animation, ICC profiles, and XMP metadata. Another interesting addition are alpha channels with lossy compression to connect the properties of JPEG and PNG. As once WMP (Windows Media Photo), JPEG2000 and other so WebP will now supplant the long term in the tooths JPEG and PNG from the Web.

On publication of the format in the fall of 2010, the WebP library compressed similar to the de-facto standard JPEG lossy, achieved with the same image quality but higher by a third compression. Smaller size and less computation in decoding mainly intended for users of mobile devices to carry.

The latest version of the web browser Chrome supports WebP already. The tool cwebp Converts JPEG, PNG and TIFF files in Windows, Linux and Mac OS X in the WebP format.

No comments:

Post a Comment