WebP : Java Glossary

WebP

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

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/webp.html J:\mindprod\jgloss\webp.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.212]
You are visitor number 1.