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

CMP homejump to top

available on the web at:

http://mindprod.com/jgloss/webp.html
  

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

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, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Blog
IP:[65.110.21.43]
Your face IP:[107.22.25.119]
You are visitor number 1.