This is an old version, saved 5 Dec 2026, 06:37 by TechWritereditor. It is the current version.
WebP
WebP is an image file format developed by Google for pictures on the web. It supports both lossy and lossless compression, as well as transparency and animation. Google announced WebP on 30 September 2010. Its lossy mode borrows the techniques the VP8 video codec uses to compress single frames; Google had released VP8 as open source earlier that year as part of the WebM project.[1]
History
WebP was first released as a developer preview. In a test of about a million images taken from the web, mostly JPEG files, Google reported that converting them to WebP without visible loss of quality made them 39% smaller on average.[1] Lossless compression, transparency and animation were added later. In November 2024 Google engineers documented the complete format in RFC 9649, an informational document published through the Internet Engineering Task Force, which also registered the media type "image/webp".[2]
Browser support grew over time. Google says WebP is supported natively by Google Chrome, Mozilla Firefox, Microsoft Edge, Opera and Safari.[3] Apple was the last major holdout: it announced WebP support for Safari (web browser) 14 in June 2020, with iOS 14 and macOS Big Sur.[4]
How it works
A WebP file uses a simple container based on the RIFF format. Lossy images are stored as a VP8 frame, while lossless images use a separate format called VP8L that restores every pixel exactly. Extra sections, called chunks, can add a transparency (alpha) layer, animation frames, a colour profile, or Exif and XMP metadata.[2]
According to Google, lossless WebP images are about 26% smaller than equivalent PNG files, and lossy WebP images are 25–34% smaller than JPEGs of similar quality. Google also says animated WebP files are smaller than animated GIFs.[3]
See also
References
- ^ WebP, a new image format for the Web. Google Developers Blog. 2010-09-30. developers.googleblog.com
- ^ RFC 9649: WebP Image Format. RFC Editor (IETF). rfc-editor.org
- ^ An image format for the Web. Google for Developers. developers.google.com
- ^ Apple Adds WebP Image Support in Safari 14. MacRumors. 2020-06-22. macrumors.com