WebP : Java Glossary


A new web format from Google that supports both lossless and lossy compression. Like PNG (Portable Network Graphics) it supports variable transparency — an alpha channel, even in lossy mode. WebP lossless images are 28% smaller in size compared to PNGs (Portable Network Graphics). WebP lossy images are 25-34% smaller in size compared to JPEG (Joint Photographic Experts Group) images. Java does not yet support it. Google Chrome and Opera do. IE does via the Chrome plug-in. Safari, Firefox, Avant and SeaMonkey do not support it. The extension is *.webp and the mime type is image/webp for both lossy and lossless formats.

There is an ASCII (American Standard Code for Information Interchange) signature RIFF (Resource Interchange File Format) at offset 0x0000 and another WEBP at offset 0x0008. You can extract the width and height at offset 0x001a. At that offset are a pair of little endian 16-bit vales for width × height.

There seems to be a problem with conversion utility handling transparent backgrounds.

You can test whether it works on your browser:

How it Should Look How WebP Renders
lossy lossy jpg lossy webp
lossless lossless png lossless webp

available on the web at:

ClustrMaps is down

optional Replicator mirror
of mindprod.com
on local hard disk J:

Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy.
Your face IP:[]
You are visitor number 1.