WEBP decoding library
  • C 92.8%
  • C++ 2.9%
  • Shell 1%
  • CMake 1%
  • M4 0.9%
  • Other 1.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vincent Rabaud 1844042d1c Fix invalid bitstream handling when start[0]==255
BUG: 574243267, 575096093

Change-Id: Id91a5118e0ee6a6f1556b1004a41558b05872ceb
2026-10-19 11:34:01 +02:00
cmake Do not use -mno-sse* flags 2026-10-01 13:43:48 +02:00
doc cwebp: point to -exact in the -lossless help 2026-09-29 12:11:09 +02:00
examples Merge "cwebp: point to -exact in the -lossless help" into main 2026-10-18 16:28:49 -07:00
extras Validate unallocated WebPPicture planes and strides 2026-10-12 15:08:39 +02: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 error-path leaks and input validation in tools 2026-10-13 10:40:11 +02: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 man: correctness pass across all pages 2026-08-27 13:28:18 -07:00
sharpyuv Fix error handling and bounds checks in decoder, utils, sharpyuv 2026-10-13 14:43:37 +02:00
src Fix invalid bitstream handling when start[0]==255 2026-10-19 11:34:01 +02:00
swig swig,cosmetics: normalize includes 2025-05-16 12:43:52 -07:00
tests Call incremental getters in advanced_api_fuzzer 2026-10-16 13:47:53 +00: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 Makefile.vc: add sharpyuv_avx2.c 2026-09-16 11:03:06 -07: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