WebP

{{Short description|Raster graphics file format}}

{{Use dmy dates|date=January 2017}}

{{Infobox file format

| name = WebP

| logo = WebPLogo.svg

| logo_size = 220px

| screenshot = File:Wikipedia-logo-v2-webp.webp

| caption = The wikipedia logo, as a webp file

| extension = {{code|.webp}}{{cite web |url=http://dotwhat.net/webp/10843/ |title=WEBP file extension |publisher=DotWhat.net |access-date=1 October 2010}}

|_nomimecode = on

| mime = {{code|image/webp}}{{cite IETF |title=WebP Image Format Media Type Registration |draft=draft-zern-webp |publisher=IETF |access-date=7 July 2022}}

| type code =

| uniform type = org.webmproject.webp{{cite web |url=https://developer.apple.com/documentation/uniformtypeidentifiers/uttype/3551599-webp |title=webP |work=Apple Developer Documentation: Uniform Type Identifiers |publisher=Apple Inc}}

| magic = {{code|52 49 46 46 xx xx xx xx 57 45 42 50 56 50 38}}

| owner = Google

| genre = Image file format with lossless and lossy compression

| released = {{Start date and age|2010|9|30|df=yes}}{{cite web |url=https://blog.chromium.org/2010/09/webp-new-image-format-for-web.html |title=WebP, a new image format for the Web |work=Chromium Blog |last=Rabbat |first=Richard |date=30 September 2010 |access-date=1 October 2010}}

| contained by = Resource Interchange File Format (RIFF){{cite web |url=https://code.google.com/speed/webp/docs/riff_container.html |title=RIFF Container |work=Google Code |access-date=1 October 2010}}

| extended from =

| standard = {{IETF RFC|9649}}

| open = Yes{{cite web |url=https://code.google.com/speed/webp/faq.html |title=WebP FAQs |work=Google Code |access-date=6 October 2010}}

| url = {{url|https://developers.google.com/speed/webp}}

}}

{{Infobox software

| title = libwebp

| name = libwebp

| developer = Google

| repo = {{URL|https://chromium.googlesource.com/webm/libwebp}}

| programming language = C

| platform =

| genre = Digital imaging

| latest release version = {{wikidata|property|preferred|references|edit|Q63437758|P348|P548=Q2804309}}

| latest release date = {{Start date and age|df=yes|{{wikidata|qualifier|preferred|single|Q63437758|P348|P548=Q2804309|P577}}}}

| license = BSD license

| website = {{url|https://developers.google.com/speed/webp}}

}}

WebP is a raster graphics file format developed by Google intended as a replacement for JPEG, PNG, and GIF file formats. It supports both lossy and lossless compression,{{cite magazine |url=https://www.wired.com/2010/10/meet-webp-googles-new-image-format/ |title=Meet WebP, Google's New Image Format |last=Calore |first=Michael |date=1 October 2010 |magazine=Wired |access-date=29 December 2024}} as well as animation and alpha transparency.

Google announced the WebP format in September 2010; the company released the first stable version of its supporting library in April 2018. The acronym WebP is derived from the words Web Picture.{{citation needed|date=February 2025}}

History

WebP was first announced by Google on 30 September 2010 as a new open format for lossy compressed true-color graphics on the web, producing files that were smaller than JPEG files for comparable image quality.{{cite web |url=https://code.google.com/intl/no/speed/webp/docs/c_study.html |archive-url=https://web.archive.org/web/20101004134848/http://code.google.com/intl/no/speed/webp/docs/c_study.html |url-status=dead |archive-date=4 October 2010 |title=Comparative Study of WebP, JPEG and JPEG 2000 |work=Google Code |access-date=1 October 2010 |df=dmy-all }} It was based on technology which Google had acquired with the purchase of On2 Technologies.{{Cite web |last=Shankland |first=Stephen |date=30 September 2010 |title=Google Offers JPEG Alternative for Faster Web - With WebP, Google hopes to drastically cut data-transfer barriers to Web browsing. But it's not easy to challenge JPEG's dominance. |url=https://www.cnet.com/news/google-offers-jpeg-alternative-for-faster-web/ |access-date=18 February 2021 |website=CNET News |publisher=CBS Interactive}} As a derivative of the VP8 video format, it is a sister project to the WebM multimedia container format.{{cite web |url=https://arstechnica.com/open-source/news/2010/10/googles-new-vp8-based-image-format-could-replace-jpeg.ars |title=Google's New VP8-Based Image Format Could Replace JPEG |last=Paul |first=Ryan |date=2 October 2010 |work=Ars Technica |publisher=Condé Nast |access-date=5 October 2010}} WebP-related software is released under a BSD free software license.{{cite web |url=http://groups.google.com/a/webmproject.org/group/webp-discuss/browse_thread/thread/5b8fe3ed39687eff |title=License/Patent clarification |last=Rabbat |first=Richard |date=3 October 2010 |work=Google Groups |access-date=11 March 2011}}

On 3 October 2011,{{cite web |url=https://groups.google.com/a/webmproject.org/group/webp-discuss/browse_thread/thread/4ab76cbde89e6ade/23512e5a1ed1dab0 |title=WebP-Mux (RIFF based container) framework |last=Arora |first=Vikas |date=3 October 2011 |work=Google Groups |access-date=18 November 2011}} Google added an "Extended File Format"{{cite web |title=WebP Container Specification |url=https://developers.google.com/speed/webp/docs/riff_container |website=Google Developers |access-date=4 April 2020}} allowing WebP support for animation, ICC profile, XMP and Exif metadata, and tiling (compositing very large images from maximum {{val|16384}} × {{val|16384}} tiles). Tiling support was never finalized and was removed from the spec again.{{cite web |url=https://chromium.googlesource.com/webm/libwebp/+/a66e66c79d0548fb1130b111fd9ea2498e700a1a%5E%21/#F0 |title=webp-container-spec: remove references to fragments |last=Zern |first=James |date=22 Dec 2014 |access-date=6 May 2023}} Older animated GIF files can be converted to animated WebP.{{fact|date=October 2024}}

On 18 November 2011, Google announced a new lossless compression mode, and support for transparency (alpha channel) in both lossless and lossy modes; support was enabled by default in libwebp 0.2.0 (16 August 2012).{{cite web |url=https://developers.googleblog.com/2012/08/lossless-and-transparency-modes-in-webp.html |title=Lossless and Transparency Modes in WebP |last=Alakuijala |first=Jyrki |date=30 August 2012 |work=Google Developers Blog |access-date=6 September 2012}}{{cite web |url=https://chromium.googlesource.com/webm/libwebp/+/v0.2.0 |title=Version 0.2.0 |last=Zern |first=James |date=16 August 2012 |work=Chromium |access-date=6 January 2017}} According to Google's measurements in November 2011, a conversion from PNG to WebP resulted in a 45% reduction in file size when starting with PNGs found on the web, and a 28% reduction compared to PNGs that are recompressed with pngcrush and PNGOUT.{{cite web |url=http://googlecode.blogspot.com/2011/11/lossless-and-transparency-encoding-in.html |title=Lossless and Transparency Encoding in WebP |last1=Alakuijala |first1=Jyrki |last2=Arora |first2=Vikas |last3=Joshi |first3=Urvang |date=18 November 2011 |work=Google Code Blog |access-date=18 November 2011}}

In July 2016, Apple added WebP support to early beta versions of macOS Sierra and iOS 10,{{cite web|url=http://www.cnet.com/news/apple-ios-macos-tests-googles-webp-graphics-to-speed-up-web/|title=Apple tests Google graphics format to speed up websites|author=Stephen Shankland|publisher=CNET|date=2016-07-19|access-date=2016-07-20}} but support was later removed in the GM seed versions of iOS 10 and macOS Sierra released in September 2016. In September 2020, WebP support was added in Safari version 14.

The supporting libwebp library reached version 1.0 in April 2018.{{Cite web |date=2018-04-21 |title=libwebp 1.0.0 release |url=https://chromium.googlesource.com/webm/libwebp/+/refs/tags/v1.0.0 |access-date=2021-02-18}}

As of 2024, web browsers that support WebP had 97% market share.{{Cite web |title=Can I use... WebP image format |url=https://caniuse.com/webp |access-date=2021-11-19 |website=caniuse.com}}

Technology

{{sticky header}}

class="wikitable floatright"

|+Simple WebP

!Bytes

!colspan="4"|Content

align="right"|0–3

|R

IFF
align="right"|4–7

|colspan="4"|length + 12

align="right"|8–11

|W

EBP
align="right"|12–15

|V

P8(space){{cite web|url=https://developers.google.com/speed/webp/docs/riff_container#webp_file_header|title=WebP Container Specification: U+0020 for lossy images, and "L" for lossless images}}
align="right"|16–19

|colspan="4"|length (padded)

align="right"|20–…

|colspan="4"|VP8 key frame

pad

|colspan="4"|? (even length)

WebP's lossy compression algorithm is based on the intra-frame coding of the VP8 video format{{cite web|url=http://x264dev.multimedia.cx/archives/541 |title=H.264 and VP8 for still image coding: WebP? |work=Diary Of An x264 Developer |date=2010-09-30 |access-date=2010-10-01 |first=Fiona |last=Glaser |url-status=dead |archive-url=https://web.archive.org/web/20150319214453/http://x264dev.multimedia.cx/archives/541 |archive-date=19 March 2015 }} and the Resource Interchange File Format (RIFF) as a container format. As such, it is a block-based transformation scheme with eight bits of color depth and a luminance–chrominance model with chroma subsampling by a ratio of 1:2 (YCbCr 4:2:0).{{cite web

|title = VP8 Data Format and Decoding Guide

|url = https://www.webmproject.org/media/pdf/vp8-bitstream.pdf

|date = 2010-09-23

|access-date = 2010-10-02

}}{{Dead link|date=December 2018 |bot=InternetArchiveBot |fix-attempted=yes }} Without further content, the mandatory RIFF container has an overhead of only twenty bytes, though it can also hold additional metadata. The side length of WebP images is limited to {{val|16383}} pixels.

WebP is based on block prediction. Each block is predicted on the values from the three blocks above it and from one block to the left of it (block decoding is done in raster-scan order: left to right and top to bottom). There are four basic modes of block prediction: horizontal, vertical, DC (one color), and TrueMotion. Mispredicted data and non-predicted blocks are compressed in a 4×4 pixel sub-block with a discrete cosine transform or a Walsh–Hadamard transform. Both transforms are done with fixed-point arithmetic to avoid rounding errors. The output is compressed with entropy encoding. WebP also has explicit support for parallel decoding.

The reference implementation consists of converter software in the form of a command-line program for Linux (cwebp) and a programming library for the decoding, the same as for WebM. The open-source community ported the converter to other platforms, such as Windows.{{cite web

| title = WebP for .NET

| url = https://archive.codeplex.com/?p=webp

| publisher = Microsoft

| work = Codeplex

| date = 2010-10-01

| archive-url = https://web.archive.org/web/20210915230001/https://archive.codeplex.com/?p=webp

| archive-date = 2021-09-15

| access-date = 2022-05-05

}}

The WebP container (i.e., RIFF container for WebP) allows feature support over and above the basic use case of WebP (i.e., a file containing a single image encoded as a VP8 key frame). The WebP container provides additional support for:

; Metadata: An image may have metadata stored in Exif or XMP formats.

; Transparency: An image may have transparency, i.e., an alpha channel.

; Color profile: An image may have an embedded ICC profile as described by the International Color Consortium.

=Lossless compression=

WebP's lossless compression, a newer algorithm unrelated to VP8, was designed by Google software engineer Jyrki Alakuijala. It uses advanced techniques such as dedicated entropy codes for different color channels, exploiting 2D locality of backward reference distances and a color cache of recently used colors. This complements basic techniques such as dictionary coding, Huffman coding and color indexing transform. This format uses a recursive definition: all of the control images, such as the local entropy code selection, are encoded the same way as the whole image itself.{{cite web

| title = WebP Lossless Bitstream Specification

| author = Jyrki Alakuijala

| url = https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification

| publisher = Google Inc.

| date = 2014-09-16

}}

= Animation =

Google has proposed using WebP for animated images as an alternative to the popular GIF format, citing the advantages of 24-bit color with transparency, combining frames with lossy and lossless compression in the same animation, and support for seeking to specific frames.{{cite web |url=https://developers.google.com/speed/webp/faq#why_should_i_use_animated_webp |title=Frequently Asked Questions |date=2014-02-21 |access-date=2014-02-23}} Google reports a 64% reduction in file size for images converted from animated GIFs to lossy WebP, however, with a very noticeable visual impact, both at default settings, and optimised settings. When converting using lossless WebP, a 19% reduction is achieved as reported by Google, although real-world performance is nearer to 10%.{{cite web |url=https://technedigitale.com/archives/1466 |website=technedigitale.com |access-date=19 August 2021|title=GIF is (Finally) dead. Long live Webp |date=24 July 2021 }}

Support

=Web browsers=

Google actively promotes WebP, and Google Chrome and all Chromium-based browsers support the format, with Chrome actively overriding image source types and forcing more popular file types such as JPG or PNG to instead save as WebP. This forces users who wish to retain source type saving to install an extension that can work around the restriction.https://www.zdnet.com/home-and-office/work-life/how-to-get-around-chromes-save-as-webp-image-format-issue/ The proprietary PageSpeed Insights tool suggests that webmasters switch from JPEG and PNG to WebP in order to improve their website speed score.{{Cite web|url=https://developer.chrome.com/docs/lighthouse/performance/uses-webp-images/|title=Serve images in modern formats|website=Chrome Developers}}

Microsoft Edge versions released after January 2020 are based on the Chromium browser, and have native WebP support. EdgeHTML-based versions of Microsoft Edge support WebP through a platform extension (installed by default) (unless running in the security-hardened "Application Guard" mode, which does not support platform extensions).{{cite web| url=https://www.ctrl.blog/entry/windows-webp-appguard |title=WebP images won't load in Microsoft Edge with Application Guard |date=14 November 2018 |access-date = 2018-11-14}}

Safari added support for WebP in 2020 with iOS 14 and macOS Big Sur.{{Cite web |title=Apple Developer Documentation - Safari 14 Release Notes |url=https://developer.apple.com/documentation/safari-release-notes/safari-14-release-notes |access-date=2021-02-18 |website=developer.apple.com}}

Mozilla Firefox{{Cite web|url=https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/65|title=Firefox 65 for developers - Mozilla | MDN|website=developer.mozilla.org|date=24 August 2023 }} officially supports WebP since January 2019.{{Cite web|date=2018-11-02|title=Firefox 65 supports Google's WebP Image format - gHacks Tech News|url=https://www.ghacks.net/2018/11/02/firefox-65-supports-googles-webp-image-format/|access-date=2022-01-20|website=gHacks Technology News|language=en-US}} It was initially considered for implementation in 2013.{{Cite web|last=Shankland|first=Stephen|title=Why Mozilla had a change of heart about WebP images|url=https://www.cnet.com/tech/services-and-software/why-mozilla-had-a-change-of-heart-about-webp-images/|access-date=2022-01-20|website=CNET|language=en}}

Pale Moon implemented initial support for WebP in 2016 with its version 26 milestone.{{Cite web|last=Moonchild|title=Pale Moon – Release Notes for Archived Versions|url=https://www.palemoon.org/releasenotes-archived.shtml|access-date=2018-11-19|website=www.palemoon.org|language=en}}

SeaMonkey began supporting WebP with its version 2.53.5 released in November 2020.{{Cite web |title=SeaMonkey 2.53.5 Release Notes |url=https://www.seamonkey-project.org/releases/seamonkey2.53.5/ |access-date=2024-09-24 |website=The SeaMonkey® Project}}

GNOME Web, Midori, and Falkon natively support WebP.

WebP can also be displayed in all major browsers using the WebPJS JavaScript library, although support in Internet Explorer 6 and above is achieved using Flash.{{cite web

| url = https://webpjs.appspot.com/

| title = WebPJS – Google's new image format WebP for not supported browsers (with alpha-channel)

| access-date = 2011-11-20

}}

Support for WebP was added to Links in version 2.26.{{cite web

| url = http://links.twibright.com/download/ChangeLog

| title = Changelog

| access-date = 2022-05-14

}}

=Graphics software=

At the announcement of WebP in September 2010, no graphics software supported WebP. By 2011, there were plugins for several popular graphics software programs to support WebP, and some programs such as Acorn and Pixelmator had added native support.{{cite web |title=WebP in Chrome, Picasa, Gmail With a Slew of New Features and Improvements |url=https://blog.chromium.org/2011/05/webp-in-chrome-picasa-gmail-with-slew.html |website=Chromium Blog |publisher=Google |date=20 May 2011}} Over time, support for the WebP format has grown.

class="wikitable sortable sticky-header"

! Software

! class="unsortable" | First version with native support

! data-sort-type="date" | Release date of native support

! class="unsortable" | Notes

! class="unsortable" | Reference

Pixelmator Classic

| 1.6.2

| 6 October 2010

|

| {{cite web |last1=Chartier |first1=David |title=Pixelmator to add support for Google's WebP image format |url=https://www.macworld.com/article/208085/pixelmator_google_webp.html |work=Macworld |publisher=IDG |date=2010-10-04}}{{cite web |title=Pixelmator 1.6.2 Adds WebP Support |url=https://www.pixelmator.com/blog/2010/10/06/pixelmator-1-6-2-adds-webp-support/ |website=Pixelmator Blog |publisher=Pixelmator |access-date=2024-01-14 |date=2010-10-06}}

Acorn

| 2.6

| 21 October 2010

| Export of lossless WebP added in 2022{{cite web |title=Acorn Release Notes |url=https://flyingmeat.com/acorn/releasenotes.html |website=Flying Meat Software |date=2022-06-18 |at=Acorn 7.2 |quote=New "Lossless" option when exporting images as WebP.}}

| {{cite web |title=Acorn Release Notes |url=https://flyingmeat.com/acorn/releasenotes.html |website=Flying Meat Software |date=2010-10-21 |at=Acorn 2.6 |quote=New: Acorn can now open WebP images, as well as write them with Web Export.}}

ImageMagick

| 6.6.8-5

| 14 March 2011

|

| {{cite web |url=https://www.imagemagick.org/script/formats.php |title=ImageMagick Image Formats |work=ImageMagick.org |publisher=ImageMagick Studio LLC |access-date=2011-05-24}}{{cite web |title=ImageMagick: Changelog |url=http://www.imagemagick.org/script/changelog.php |work=ImageMagick |archive-url=https://web.archive.org/web/20110416040253/http://www.imagemagick.org:80/script/changelog.php |archive-date=2011-04-16 |date=2011-03-14 |quote=Add support for the WebP image format.}}

GraphicConverter

| 7.2

| 8 April 2011

|

| {{cite web |title=Overview of new features and versions |url=https://www.lemkesoft.de/en/products/graphicconverter/overview-of-new-features-and-versions/ |work=GraphicConverter |publisher=Lemke Software |archive-url=https://web.archive.org/web/20180219031846/https://www.lemkesoft.de/en/products/graphicconverter/overview-of-new-features-and-versions/ |archive-date=2018-02-19 |date=2011-04-08 |at=Version 7.2 (Build 187) |quote=webp import and export added (Intel only)}}

XnView

| 1.98

| 9 May 2011

|

| {{cite web |title=XnView 1.98 |url=http://newsgroup.xnview.com/viewtopic.php?f=35&t=22794 |url-access=registration |website=XnView - Windows |publisher=XnView |archive-url=https://web.archive.org/web/20110825001531/http://newsgroup.xnview.com/viewtopic.php?f=35&t=22794 |archive-date=2011-08-25 |url-status=live |date=2011-05-09}}

PaintShop Pro

| X4 (14.0)

| 7 September 2011

|

| {{cite web |title=Corel® PaintShop™ Pro X4 Delivers Professional Photo Editing Power, Dramatic Performance Improvements and New Creative Effects |url=http://www.corel.com/corel/pages/index.jsp?pgid=800281&item=pressRelease&listid=9300030 |website=News Releases - Newsroom |publisher=Corel Corporation |archive-url=https://web.archive.org/web/20111113062710/http://www.corel.com/corel/pages/index.jsp?pgid=800281&item=pressRelease&listid=9300030 |archive-date=13 November 2011 |date=2011-09-07}}{{cite web |title=Corel PaintShop Pro X4 - Powerful Photo-Editing Software |url=http://www.corel.com/corel/product/index_v2.jsp?pid=prod4130078 |publisher=Corel Corporation |archive-url=https://web.archive.org/web/20111113014149/http://www.corel.com/corel/product/index_v2.jsp?pid=prod4130078#tab4 |archive-date=2011-11-13}}{{cite web |author1=Radim |title=PaintShop Pro X4 |url=https://forum.corel.com/viewtopic.php?t=43208&start=30#p228037 |website=Alludo user to user web board |pages=3 |date=2011-09-09 |archive-url=https://web.archive.org/web/20240211014043/https://forum.corel.com/viewtopic.php?t=43208&start=30#p228037 |archive-date=2024-02-11 |url-status=dead}}

Picasa

| 3.9

| 8 December 2011

|

| {{cite web |title=Picasa Release Notes |url=http://support.google.com/picasa/bin/picasa.google.com/support/bin/static.py?hl=en&page=release_notes.cs |website=Google Support |publisher=Google Inc. |archive-url=https://web.archive.org/web/20120526074026/http://support.google.com/picasa/bin/picasa.google.com/support/bin/static.py?hl=en&page=release_notes.cs |archive-date=2012-05-26 |date=2011-11-08}}

IrfanView

| 4.32

| 15 December 2011

|

| {{cite web |title=History of IrfanView changes/versions |url=https://www.irfanview.com/history_old.htm |work=IrfanView |publisher=Irfan Skiljan |access-date=2024-01-14 |date=2011-12-15 |quote=Support for WebP format (Weppy format, PlugIn, reading + saving)}}

GDAL

| 1.9.0

| 9 January 2012

|

| {{cite web |url=http://www.gdal.org/frmt_webp.html |title=WEBP - WEBP |work=GDAL |access-date=2011-11-30 |archive-url=https://web.archive.org/web/20110807131752/http://www.gdal.org:80/frmt_webp.html |archive-date=2011-08-07}}{{cite web |title=GDAL/OGR 1.9.0 Released |url=https://www.osgeo.org/foundation-news/gdalogr-1-9-0-released/ |website=OSGeo |date=2012-01-09 |quote=Starting with GDAL 1.9.0, GDAL can read and write WebP images through the WebP library.}}

gThumb

| 3.1.1

| 23 September 2012

|

| {{cite web |last1=Bacchilega |first1=Paolo |title=gThumb 3.1.1 released |url=https://mail.gnome.org/archives/gthumb-list/2012-September/msg00000.html |work=gthumb-list |publisher=The GNOME Project |date=2012-09-23 |access-date=2020-05-02 |quote=Added ability to load and save WebP images.}}

PhotoLine

| 18

| 4 October 2013

|

| {{cite web |url=http://www.pl32.com/pages/rnote18.php |title=PhotoLine: New in version 18 |date=2023-12-20 |access-date=2013-10-05 |archive-url=https://web.archive.org/web/20131006215845/https://www.pl32.com/pages/rnote18.php |archive-date=2013-10-06 |url-status=live |quote=WebP is new file format, which is intended to replace JPEG. It allows to create very small image files. The Web Export function supports WebP, too.}}{{cite web |last1=Thacker |first1=Jim |title=Computerinsel releases PhotoLine 18 |url=https://www.cgchannel.com/2013/10/computerinsel-releases-photoline-18/ |website=CG Channel |access-date=2024-01-14 |date=2013-10-04}}

Canvas X

| 15

| 20 November 2013

|

| {{cite web |title=What's New in Canvas 15 |url=http://www.acdsee.com/en/products/canvas-15/whats-new |publisher=ACD Systems |archive-url=https://web.archive.org/web/20131205011948/http://www.acdsee.com/en/products/canvas-15/whats-new |archive-date=5 December 2013 |quote=Canvas 15 now supports the importing and exporting of WebP, a format designed to allow lossless and lossy compression for images being uploaded to the web.}}{{cite web |title=Newest release of Deneba Canvas possesses a host of efficiency-driven advancements |url=http://www.acdsee.com/en/community/blog/post/67514710641/newest-release-of-deneba-canvas-possesses-a-host-of |website=ACD Systems Blog |publisher=ACD Systems |archive-url=https://web.archive.org/web/20141021080952/http://www.acdsee.com/en/community/blog/post/67514710641/newest-release-of-deneba-canvas-possesses-a-host-of |archive-date=2014-10-21 |date=2013-11-20}}

rowspan=2 | Krita

| 2.9.5

| 10 June 2015

| Basic support

| {{cite web |last1=Petrovic |first1=Scott |title=Krita 2.9.5 Released |url=https://krita.org/en/posts/2015/krita-2-9-5-released/ |website=Krita |publisher=Krita Foundation |access-date=2024-03-17 |date=2015-06-10 |quote=Add support for WebP (on Linux)}}

5.1.0

| 18 August 2022

| Full support

| {{cite web |title=Krita 5.1 Release Notes |url=https://krita.org/en/release-notes/krita-5-1-release-notes/ |website=Krita |date=20 April 2022 |publisher=Krita Foundation |access-date=2024-03-17 |quote=WebP support (MR 891 MR 1268). We had basic WebP support already, but this adds full support using WebP Codec with every possible toggle imaginable.}}{{cite web |last1=Rempt |first1=Halla |title=Krita 5.1.0 Released! |url=https://krita.org/en/posts/2022/krita-5-1-0-released/ |website=Krita |publisher=Krita Foundation |access-date=2024-03-17 |date=2022-08-18}}

Aseprite

| 1.1.1

| 6 November 2015

|

| {{cite web |last1=Capello |first1=David |title=Release Notes |url=https://www.aseprite.org/release-notes/11/#aseprite-v1-1-1 |work=Aseprite |date=2015-11-06 |at=Aseprite v1.1.1 |quote=Added support to load/save static .webp files}}

Sketch

| 41

| 8 November 2016

|

| {{cite web |title=Download the latest Sketch software updates |url=https://www.sketch.com/releases/mac/#version-41 |website=Sketch |access-date=2024-01-27 |language=en |date=2016-11-08 |quote=Sketch can now both import and export images in the WebP format.}}

GIMP

| 2.10

| 27 April 2018

|

| {{cite web |title=GIMP 2.10 Release Notes |url=https://www.gimp.org/release-notes/gimp-2.10.html |work=GIMP |access-date=2018-05-02 |quote=GIMP now also ships with native WebP support, including features like animation, ICC profiles, and metadata.}}{{cite web |author1=Wilber |title=GIMP 2.10.0 Released |url=https://www.gimp.org/news/2018/04/27/gimp-2-10-0-released/ |website=GIMP |access-date=14 January 2024 |date=2018-04-27 |quote=Support for several new image formats added (OpenEXR, RGBE, WebP, HGT), as well as improved support for many existing formats (in particular more robust PSD importing).}}

Paint.NET

| 4.2.5

| 1 October 2019

|

| {{cite web |last1=Brewster |first1=Rick |title=paint.net 4.2.5 is now available! |url=https://blog.getpaint.net/2019/10/01/paint-net-4-2-5-is-now-available/ |website=paint.net blog |date=2019-10-01 |quote=New: WebP images are now supported due to bundling @null54's excellent WebPFileType plugin (v1.3.0.0)}}

Pixelmator Pro

| 1.6.4

| 4 June 2020

|

| {{cite web |title=Pixelmator Pro adds WebP support |url=https://www.pixelmator.com/blog/2020/06/04/pixelmator-pro-adds-webp-support/ |publisher=Pixelmator Team |access-date=16 March 2024 |date=4 June 2020}}

Inkscape

| 1.1

| 24 May 2021

| Export only

| {{cite web |title=Inkscape 1.1 Release Notes |url=https://media.inkscape.org/media/doc/release_notes/1.1/Inkscape_1.1.html |website=Inkscape |access-date=2024-01-14 |date=2021-05-24 |quote=Export as JPG, TIFF, optimized PNG and WebP directly from Inkscape}}

Xara Designer Pro+

| 18.5

| 24 August 2021

|

| {{cite web |title=Xara Designer Pro X18 Release Notes |url=http://releasenotes.xara.hosting/designer-pro-x18/ |work=Xara Designer Pro |publisher=Xara |access-date=2021-09-09 |pages=9–11 |date=2021-08-24 |quote=WebP has been added to the extensive list of file formats that Designer Pro can export.}}

Adobe Illustrator

| 26.0

| 16 October 2021

|

| {{cite web |title=Feature summary {{!}} Illustrator (October 2021 release) |url=https://helpx.adobe.com/illustrator/using/whats-new/2022.html |website=Adobe Help Center |publisher=Adobe |access-date=2024-01-14 |date=2022-11-16 |quote=You can now open or place High-efficiency Image Format (HEIF) or Web Picture (WebP) format files in Illustrator.}}{{cite web |last1=Wamser |first1=James |title=Adobe Illustrator New Features Guide |url=https://indd.adobe.com/view/publication/0bff348c-febc-4351-8a11-8101037228d9/oc6s/publication-web-resources/pdf/Illustrator_New_Features_Guide.pdf#page=44 |access-date=2024-01-14 |pages=44–45 |date=2023-11-02 |quote=You can now open or place High-efficiency Image Format (HEIF) or Web Picture (WebP) format files in Illustrator.}}

Adobe Photoshop

| 23.2

| 17 February 2022

|

| {{cite web |title=Work with WebP files in Photoshop |url=https://helpx.adobe.com/photoshop/kb/support-webp-image-format.html |website=Adobe Help Center |publisher=Adobe |access-date=2024-01-14 |date=2023-05-24 |quote=With Photoshop 23.2, Photoshop provides full support to the WebP file format.}}{{cite web |last1=Thacker |first1=Jim |title=Adobe ships Photoshop 23.2 |url=https://www.cgchannel.com/2022/02/adobe-ships-photoshop-23-2/ |website=CG Channel |date=2022-02-17}}

Blender

| 3.2

| 8 June 2022

|

| {{cite web |title=Blender 3.2 Release Notes {{!}} Pipeline, Assets, IO |url=https://wiki.blender.org/wiki/Reference/Release_Notes/3.2/Pipeline_Assets_IO |website=Blender Developer Wiki |publisher=Blender |access-date=2022-06-20 |quote=Blender now has support for the WebP image format which works similar to PNG but compresses faster and generates smaller file sizes.}}{{cite web |title=Blender 3.2 Release Notes |url=https://wiki.blender.org/wiki/Reference/Release_Notes/3.2 |website=Blender Developer Wiki |publisher=Blender}}

LibreOffice Draw

| 7.4

| 18 August 2022

|

| {{cite web |last1=Brinkmann |first1=Martin |title=LibreOffice 7.4 launches with webp support and dark mode support for Windows |url=https://www.ghacks.net/2022/08/18/libreoffice-7-4-launches-with-webp-support-and-dark-mode-support-for-windows/ |website=gHacks Technology News |access-date=2024-01-14 |date=2022-08-18}}

Affinity Designer

| 2.0

| 9 November 2022

|

| {{cite web |title=Affinity Photo – Complete Feature List |url=https://affinity.serif.com/en-gb/photo/full-feature-list/ |website=Affinity |access-date=2024-01-27 |at=2.0 New Features |quote=WebP file import and export}}{{cite web |last1=Endicott |first1=Sean |title=Affinity 2 launch causes controversy among content creators |url=https://www.windowscentral.com/software-apps/affinity-20-launch-causes-controversy-among-content-creators |website=Windows Central |access-date=2024-01-27 |date=2022-11-09}}

Shotwell

| 0.32.0

| 23 April 2023

|

| {{cite web |last1=Sneddon |first1=Joey |title=Shotwell Photo App Now Supports AVIF, HEIC & WebP |url=https://www.omglinux.com/shotwell-updates-supports-avif-heic-images/ |website=OMG! Linux |access-date=2024-01-14 |date=2023-04-23}}

Windows Photos

| 2023.11050.2013.0

| 3 May 2023

|

| {{cite web |last1=Tkachenko |first1=Sergey |title=Windows 11 Photos app now supports WebP images |url=https://winaero.com/windows-11-photos-app-now-supports-webp-images/ |website=Winaero |access-date=2024-01-14 |date=2023-05-18}}{{cite web |last1=Hsieh |first1=Yvonne |title=Photos app for Windows 11 update brings improvements for Windows Insiders |url=https://blogs.windows.com/windows-insider/2023/05/03/photos-app-for-windows-11-update-brings-improvements-for-windows-insiders/ |website=Windows Insider Blog |publisher=Microsoft |date=2023-05-03}}

CorelDRAW

| 24.5

| 18 September 2023

|

| {{cite web |title=CorelDRAW Graphics Suite Subscriber Updates (Windows and Mac) Release notes |url=https://www.coreldraw.com/en/support/updates/cdgs2022/update.html |website=CorelDRAW Graphics Suite |publisher=Corel Corporation |access-date=2024-01-14 |date=2023-09-18 |quote=A range of enhancements to the Export docker/inspector make it easier than ever to output objects and pages to even more file formats, now including CDR, WEBP, CGM, PSD, and BMP.}}

Clip Studio Paint

| 3.0.0

| 14 March 2024

|

| {{cite web |title=Clip Studio Paint Ver. 3.0 available now! New Features Bring Energy and Fun to Your Creation |url=https://www.clipstudio.net/en/news/202403/14_01/ |publisher=Celsys, Inc. |access-date=16 March 2024 |date=14 March 2024 |quote=Import and export WebP files: You can now import and export this lightweight file format used for web pages}}

PhotoMill

|2.8.0

|11 November 2024

|

| {{cite web |title=WebP Support: enhanced reading and conversion capabilities, with an expanded set of options. |url=https://overmacs.com/?p=releasenotes |website=Release Notes - What's new in PhotoSweeper and PhotoMill |publisher=Overmacs Team |access-date=2024-11-24 |date=2024-11-11}}

In 2019, Google released a free plug-in that enables WebP support in earlier versions of Adobe Photoshop.{{cite web

|url = https://developers.google.com/speed/webp/docs/webpshop

|title = WebPShop

|work = Photoshop plug-in for opening and saving WebP images

|publisher = Google Inc.

|access-date = 2019-07-15

}} Free Photoshop plug-ins had been released by Telegraphics and fnordware before that.{{cite web

|url = http://telegraphics.com.au/sw/product/WebPFormat

|title = WebP Format

|work = Free plugins for Photoshop & Illustrator

|publisher = Telegraphics

|access-date = 2011-05-23

}}{{cite web

|url = https://github.com/fnordware/AdobeWebM#download

|title = Adobe WebM/WebP plugins

|publisher = fnordware.com

|access-date = 2015-06-29

}} GIMP up to version 2.8 also supported WebP via a plugin;{{cite web

|url = https://github.com/nathan-osman/gimp-webp

|title = nathan-osman/gimp-webp: Gimp plugin for loading and saving WebP images

|website = GitHub

|access-date = 2016-03-30

}} later, this plugin was shipped in GIMP 2.9 branch, and received multiple improvements.{{cite web |last1=Prokoudine |first1=Alexandre |title=GIMP 2.9.6 Released |url=https://www.gimp.org/news/2017/08/24/gimp-2-9-6-released/ |work=GIMP |access-date=2018-05-24 |date=2017-08-24}} Google has also released a plug-in for Microsoft Windows that enables WebP support in Windows Photo Viewer, Microsoft Office 2010, FastPictureViewer,{{Cite web|url=http://www.fastpictureviewer.com/formats/|title=FastPictureViewer Professional | Image File Formats Compatibility Chart|website=www.fastpictureviewer.com}} and any other application that uses Windows Imaging Component.{{cite web

|url = https://developers.google.com/speed/webp/docs/webp_codec

|title = WebP Codec for Windows

|work = WebP website

|publisher = Google Inc.

|access-date = 2011-05-24

|archive-url = https://web.archive.org/web/20120505145137/https://developers.google.com/speed/webp/docs/webp_codec

|archive-date = 5 May 2012

|url-status = dead

|df = dmy-all

}}

= Other programs =

FFmpeg linked with the VP8/VP9 reference codec library libvpx can extract VP8 key frames from WebM media and a script can then add the WebP RIFF header and the NUL pad byte for odd frame lengths. Meanwhile, FFmpeg supports libwebp directly.

Gmail and Google Photos both support WebP. Support for WebP is also planned for Google App Engine. The Instant Previews feature of Google Search uses WebP internally to reduce disk space used by previews.{{cite web

| url = https://blog.chromium.org/2011/05/webp-in-chrome-picasa-gmail-with-slew.html

| title = The Chromium Blog: WebP in Chrome, Picasa, Gmail With a Slew of New Features and Improvements

| date = 2011-05-21

| access-date = 2011-05-20

}} Android 4.0 supports encoding and decoding WebP images (via bitmap and Skia).{{Cite web|url=http://developer.android.com/sdk/android-4.0-highlights.html#media-dev|title=Android 4.0 Platform Highlights}} SDL_image supports the format since 1.2.11.

Sumatra PDF supports WebP images for both standalone files and comic books since version 2.4.{{cite web | url=https://www.sumatrapdfreader.org/docs/Version-history | title=version history | website=SumatraPDF documentation | access-date=16 September 2023 }}

Telegram Messenger uses WebP for its Stickers, claiming they are displayed five times faster compared to the other formats usually used in messaging apps.{{Cite web|url=https://telegram.org/blog/stickers|title=Stickers Done Right|date=2 January 2015|website=Telegram}}

Signal uses WebP for its non-animated stickers.{{Cite web|url=https://support.signal.org/hc/en-us/articles/360031836512-Stickers#sticker_reqs|title=Stickers – Signal Support}}

LibreOffice supports the import of WebP images since version 7.4,{{cite web | url=https://wiki.documentfoundation.org/ReleaseNotes/7.4#Core_.2F_General | title=LibreOffice 7.4 Community: Release Notes - the Document Foundation Wiki }} so does the LibreOffice technology based online office Collabora Online.

Godot Engine as of version 4.0 supports importing and exporting WebP images and uses WebP as its internal format for storing imported compressed textures.{{cite web|url=https://github.com/godotengine/godot/pull/61770|title= Add support for saving WebP images #61770|website= GitHub|date=21 June 2022}}

Content management systems (CMS) usually do not support WebP natively or by default. However, for most popular CMS, extensions are available for automated conversion from other image formats to WebP and delivering WebP images to compatible browsers. Since June 2021, WordPress supports WebP natively.{{cite web|url=https://make.wordpress.org/core/2021/06/07/wordpress-5-8-adds-webp-support/|title=WordPress 5.8 adds WebP support|date=7 June 2021}}

Social media services known to natively support WebP in messages include Facebook,{{Cite web|url=https://www.facebook.com/business/help/523719398041952|title=Supported image formats for ads|access-date=23 March 2024|publisher=Facebook}} Slack,{{Cite web|url=https://securityboulevard.com/2023/09/patch-everything-widely-used-webp-code-has-critical-bug/|title=Patch EVERYTHING: Widely Used 'WebP' Code has Critical Bug|publisher=Security Boulevard|author=Richi Jennings|date=13 September 2023|access-date=23 March 2024}} Discord{{cite web |title=Discord Patch Notes: October 1, 2024 |url=https://discord.com/blog/discord-patch-notes-october-1-2024 |website=discord.com |access-date=2 October 2024}} and Element;{{citation needed|date=December 2024}} however, some of these services only support static WebP, and not animated WebP.{{cn|date=November 2024}}

Restrictions

Like VP8 on which it is based, former lossy WebP supports only 8-bit YUV 4:2:0 format,{{Cite IETF|rfc=6386|title=VP8 Data Format and Decoding Guide|section=2|sectionname=Format Overview|publisher=IETF|date=November 2011|access-date=2014-01-21}} which may cause color loss on images with thin contrast elements (such as in pixel art and computer graphics) and ghosting in anaglyph. To overcome this restriction, new lossless WebP supports VP8L encoding that works exclusively with 8-bit RGBA (red, green, blue, alpha) color space.{{Cite web|url=https://developers.google.com/speed/webp/faq|title=Frequently Asked Questions | WebP|website=Google Developers}}{{Cite web|url=https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification|title=Specification for WebP Lossless Bitstream|website=Google Developers}}

However, due to the complexity of the compression, it is also significantly slower than other web image formats. It is therefore usually not advisable to process the images directly, as is the case with Web Map Services.{{cite web|access-date=2023-02-17|date=2023-02-16|title=WebP Discussion Group: Compression time and file size|url=https://groups.google.com/a/webmproject.org/g/webp-discuss/c/Ad6rXupeWZ4}}

Criticism

In September 2010, Fiona Glaser, a developer of the x264 encoder, wrote a very early critique of WebP. Comparing different encodings (JPEG, x264, and WebP) of a reference image, she stated that the quality of the WebP-encoded result was the worst of the three, mostly because of blurriness on the image. Her main remark was that "libvpx, a much more powerful encoder than ffmpeg's jpeg encoder, loses because it tries too hard to optimize for PSNR" (peak signal-to-noise ratio), arguing instead that "good psycho-visual optimizations are more important than anything else for compression".

In October 2013, Josh Aas from Mozilla Research published a comprehensive study of current lossy encoding techniques{{cite web |author=Josh Aas |title=Studying Lossy Image Compression Efficiency |access-date=2014-09-10 |work=Mozilla Research Blog |date=17 October 2013 |url=https://blog.mozilla.org/research/2013/10/17/studying-lossy-image-compression-efficiency/}} and was not able to conclude that WebP outperformed mozjpeg by any significant margin.{{cite web |title=Mozilla Advances JPEG Encoding with mozjpeg 2.0 |work=Mozilla Research Blog |author=Josh Aas |date=15 July 2014 |access-date=2014-09-10 |url=https://blog.mozilla.org/research/2014/07/15/mozilla-advances-jpeg-encoding-with-mozjpeg-2-0/}}

Vulnerability

In September 2023, two critical vulnerabilities{{Cite web |last=Goodin |first=Dan |date=2023-09-21 |title=Incomplete disclosures by Apple and Google create "huge blindspot" for 0-day hunters |url=https://arstechnica.com/security/2023/09/incomplete-disclosures-by-apple-and-google-create-huge-blindspot-for-0-day-hunters/ |access-date=2023-09-29 |website=Ars Technica |language=en-us}} relating to WebP images were discovered by Apple Security Engineering and Architecture (SEAR) and the Citizen Lab, potentially affecting Google Chrome, Chromium-based browsers and the libwebp project from Google, among any application implementing libwebp.

Among these vulnerabilities, CVE-2023-4863 was an actively exploited vulnerability with a high risk rating of CVSS 8.8. This could lead to an out of bounds/overflow condition in applications using the affected libwebp library, upon exploitation of a maliciously crafted .webp lossless file. This could result in a denial of service (DoS), or worse, enabling malicious remote code execution (RCE).

The extensive use of libwebp packages across hundreds of applications, including all categories from web browsers to mobile apps, posed a major patching challenge to mitigate the vulnerability due to the demanding testing requirements before release, highlighting the implications of this vulnerability on a wide scale.

Several web browsers, including Google Chrome, Firefox, Microsoft Edge, and Brave issued security patches following the discovery of the vulnerability.{{Cite web |last=Davis |first=Wes |date=2023-09-13 |title=Update everything: Chrome, Firefox, Brave, and Edge just patched a big flaw |url=https://www.theverge.com/2023/9/13/23872484/chrome-firefox-brave-edge-security-update-webp-vulnerability |access-date=2025-01-14 |website=The Verge |language=en}} The vulnerability was patched in libwebp version 1.3.2.{{Cite web |last=Zorz |first=Zeljka |date=2023-09-27 |title=Google "confirms" that exploited Chrome zero-day is actually in libwebp (CVE-2023-5129) |url=https://www.helpnetsecurity.com/2023/09/27/cve-2023-5129/ |access-date=2025-01-14 |website=Help Net Security |language=en-US}}

WebP 2

Google has been developing the second version of WebP since June 2021. Its reference implementation is {{code|libwebp2}}. The main goal of this new format is to reach similar compression ratios as AVIF while remaining faster to encode and decode.{{Cite web |title=codecs/libwebp2 - Git at Google |author= |work=chromium.googlesource.com |date=8 June 2021|access-date=16 June 2021 |url= https://chromium.googlesource.com/codecs/libwebp2/}} Updated from time to time.

On 12 October 2022, Google changed WebP 2's development repository's README file to state that "WebP 2 will not be released as an image format" and began describing WebP 2 as a "playground for image compression experiments".{{cite web |last1=Guyon |first1=Yannis |title=Diff - 1251ca748c17278961c0d0059b744595b35a4943 |url=https://chromium.googlesource.com/codecs/libwebp2/+/1251ca748c17278961c0d0059b744595b35a4943%5E%21/ |website=Google Git |publisher=Google LLC |access-date=30 October 2022}}

See also

  • Comparison of graphics file formats
  • AVIF, an image format based on the AV1 video format{{Cite web|url=https://aomediacodec.github.io/av1-avif/|title=AV1 Still Image File Format (AVIF)|website=aomediacodec.github.io|language=en|access-date=2018-10-10}}
  • BPG, an image format intended to be a more compression-efficient replacement for the JPEG image format, based on the intra-frame encoding of the High Efficiency Video Coding (HEVC) video compression standard, introduced in 2014.
  • FLIF, a discontinued lossless image format which claimed to outperform PNG, lossless WebP, lossless BPG and lossless JPEG2000 in terms of compression ratio, introduced in 2015. FLIF was superseded by JPEG XL.
  • HEIF, another image format based on HEVC, now also incorporating AVIF and VVC
  • From the Joint Photographic Experts Group:
  • JPEG-LS, an old but efficient lossless format, introduced in 1999.
  • JPEG 2000, an improvement intended to replace the older JPEG by the JPEG committee, introduced in 2000.
  • JPEG XR, an alternative to JPEG 2000 supporting HDR and wide gamut color spaces, introduced in 2009.
  • JPEG XL, particularly optimised for responsive web environments, so that content renders well on a wide range of devices. Moreover, it includes several features that help transition from the legacy JPEG format. JPEG XL was introduced at the end of 2020.
  • MNG and APNG, PNG-based animated image formats, supporting lossless 24-bit RGB color and 8-bit alpha channel.

References

{{Reflist}}