WEBP decoding library
  • C 93.3%
  • C++ 2.2%
  • CMake 1.1%
  • Shell 1%
  • M4 1%
  • Other 1.3%
Find a file
James Zern 733c91e461 Merge changes I775506a3,I9152b144 into main
* changes:
  Add VSX (PPC64) CPU detection
  Add VSX (PPC64) build support
2026-07-02 15:17:53 -07:00
cmake Add VSX (PPC64) build support 2026-06-04 23:06:55 +10:00
doc api.md: mention 'exact' default in WebPEncodeLossless* 2025-10-06 15:23:36 -07:00
examples Fix overflow for dwebp testing flag 2026-06-03 23:34:21 +02:00
extras Be consistent with the includes in non-src folders. 2025-12-23 16:54:48 +01:00
fuzzer Fix OOB caused by pixels exceeding the advertised bit depth 2026-05-18 13:30:15 +02:00
gradle/wrapper update gradle to 6.1.1 2021-01-02 15:51:55 -08:00
imageio Fix PNM decoder in case of missing tags 2026-03-15 20:20:50 +01:00
infra run_static_analysis.sh: fix scan-build archive path 2022-06-13 16:17:42 -07:00
m4 autoconf: update ax_pthread.m4 2013-12-29 11:56:21 -05:00
man cwebp: add -resize_mode 2025-04-16 18:53:36 -07:00
sharpyuv Fix signed integer overflow in SharpYuv RGBToYUVComponent. 2026-05-22 07:29:01 -07:00
src Merge changes I775506a3,I9152b144 into main 2026-07-02 15:17:53 -07:00
swig swig,cosmetics: normalize includes 2025-05-16 12:43:52 -07:00
tests Fix OOB caused by pixels exceeding the advertised bit depth 2026-05-18 13:30:15 +02:00
webp_js Update the emscripten instructions 2025-11-18 19:09:01 +01:00
.clang-format .clang-format: add DerivePointerAlignment: false 2025-10-08 18:59:17 -07:00
.cmake-format.py add .cmake-format.py 2023-05-30 13:54:06 -07:00
.gitattributes update gradle to 6.1.1 2021-01-02 15:51:55 -08:00
.gitignore xcframeworkbuild.sh: Retain sharpyuv file case 2026-06-16 13:12:04 -07:00
.mailmap update AUTHORS 2025-06-30 12:26:05 -07:00
.pylintrc presubmit: Add pylint-2.7 and .pylintrc 2021-10-12 01:01:14 +00:00
.style.yapf Update yapf style from "chromium" to "yapf" 2023-02-23 18:10:53 -05:00
Android.mk mv SharpYuvEstimate420Risk to extras/ 2024-01-12 15:25:27 -08:00
AUTHORS update AUTHORS 2025-06-30 12:26:05 -07:00
autogen.sh build: just use autoreconf, avoid calling tools manually 2011-03-26 09:50:31 -07:00
build.gradle mv SharpYuvEstimate420Risk to extras/ 2024-01-12 15:25:27 -08:00
ChangeLog update ChangeLog 2025-07-07 17:20:00 -07:00
CMakeLists.txt Add a fuzzer for ReadAnimatedImage 2026-03-30 10:52:48 +02:00
codereview.settings add codereview.settings 2018-11-07 19:12:35 -08:00
configure.ac Merge changes I775506a3,I9152b144 into main 2026-07-02 15:17:53 -07:00
CONTRIBUTING.md CONTRIBUTING.md: update clang-format text 2025-07-31 16:24:39 -07:00
COPYING Initial commit 2010-09-30 09:55:07 -04:00
gradle.properties Add gradle support 2016-05-24 15:35:20 +02:00
gradlew update gradle to 6.1.1 2021-01-02 15:51:55 -08:00
gradlew.bat update gradle to 6.1.1 2021-01-02 15:51:55 -08:00
iosbuild.sh {xcframework,ios}build.sh: remove 32-bit targets 2025-09-22 15:35:12 -07:00
Makefile.am Make libwebp depend on libsharpyuv. 2022-03-04 11:35:03 +01:00
makefile.unix mv SharpYuvEstimate420Risk to extras/ 2024-01-12 15:25:27 -08:00
Makefile.vc Get AVX2 into WebP lossless 2025-03-28 11:44:03 +01:00
NEWS update NEWS 2025-06-30 12:26:15 -07:00
PATENTS fix typo: constitutes -> constitute 2015-04-18 08:46:53 -07:00
PRESUBMIT.py patch-check: detect duplicated files 2021-12-17 00:25:43 +00:00
README.md README.md: update bug tracker link 2026-03-27 09:24:33 -07:00
xcframeworkbuild.sh xcframeworkbuild.sh: Retain sharpyuv file case 2026-06-16 13:12:04 -07:00

WebP Codec

      __   __  ____  ____  ____
     /  \\/  \/  _ \/  _ )/  _ \
     \       /   __/  _  \   __/
      \__\__/\____/\_____/__/ ____  ___
            / _/ /    \    \ /  _ \/ _/
           /  \_/   / /   \ \   __/  \__
           \____/____/\_____/_____/____/v1.6.0

WebP codec is a library to encode and decode images in WebP format. This package contains the library that can be used in other programs to add WebP support, as well as the command line tools 'cwebp' and 'dwebp' to compress and decompress images respectively.

See https://developers.google.com/speed/webp for details on the image format.

The latest source tree is available at https://chromium.googlesource.com/webm/libwebp

It is released under the same license as the WebM project. See https://www.webmproject.org/license/software/ or the "COPYING" file for details. An additional intellectual property rights grant can be found in the file PATENTS.

Building

See the building documentation.

Encoding and Decoding Tools

The examples/ directory contains tools to encode and decode images and animations, view information about WebP images, and more. See the tools documentation.

APIs

See the APIs documentation, and API usage examples in the examples/ directory.

Bugs

Please report all bugs in the WebP component of the issue tracker. For security reports, select 'Security report' from the Template dropdown.

Patches welcome! See how to contribute.

Discuss

Email: webp-discuss@webmproject.org

Web: https://groups.google.com/a/webmproject.org/group/webp-discuss