WEBP decoding library
  • C 93.5%
  • C++ 2%
  • Shell 1.1%
  • CMake 1%
  • M4 1%
  • Other 1.3%
Find a file
2026-04-27 19:30:58 -07:00
cmake Use proper image dependency targets now that CMake >= 3.16 2025-12-24 15:10:53 +01:00
doc api.md: mention 'exact' default in WebPEncodeLossless* 2025-10-06 15:23:36 -07:00
examples example/Makefile.am: fix build w/--disable-libwebpdemux 2026-04-11 16:50:23 -07:00
extras Be consistent with the includes in non-src folders. 2025-12-23 16:54:48 +01: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 Check output strides for SharpYuvConvert. 2026-04-16 10:09:20 +02:00
src Merge "demux.c: remove redundant check" into main 2026-04-27 19:30:58 -07:00
swig swig,cosmetics: normalize includes 2025-05-16 12:43:52 -07:00
tests anim_encode,KeyFramePenalty: add missing cast 2026-04-02 14:49:25 -07: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 Add huffman_fuzzer to .gitignore 2024-06-01 10:21:54 -05: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 configure: add -Wself-assign 2025-08-14 12:03:57 -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 {xcframework,ios}build.sh: remove 32-bit targets 2025-09-22 15:35:12 -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