[ANN] libwebp 1.6.0 release candidate

290 views
Skip to first unread message

James Zern

unread,
Jul 1, 2025, 8:27:53 PM Jul 1
to WebP Discussion
Hi,

Source and binary archives are available [1].

Everyone is encouraged to update. This release will be finalized in the next
week if there aren't any regressions.

Changelog:
https://chromium.googlesource.com/webm/libwebp/+log/v1.5.0..v1.6.0-rc1
- 6/30/2025 version 1.6.0
  This is a binary compatible release.
  API changes:
    - libwebp: WebPValidateDecoderConfig
  * additional x86 (AVX2, SSE2), general optimizations and compression
    improvements for lossless
  * `-mt` returns same results as single-threaded lossless (regressed in
    1.5.0, #426506716)
  * miscellaneous warning, bug & build fixes (#393104377, #397130631,
    #398288323, #398066379, #427503509)
  Tool updates:
    * cwebp can restrict the use of `-resize` with `-resize_mode` (#405437935)

[1]:
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-ios-framework.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-linux-x86-64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-linux-aarch64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-linux-aarch64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-ios-framework.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-mac-x86-64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-windows-x64-no-wic.zip.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-mac-arm64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-windows-x64.zip
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-linux-x86-64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-mac-arm64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-windows-x64-no-wic.zip
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-windows-x64.zip.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1-mac-x86-64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-rc1.tar.gz

Pascal Massimino

unread,
Jul 2, 2025, 1:09:01 AM Jul 2
to webp-d...@webmproject.org
Hi James,

maybe there's a problem with SDL2 + WEBP_JS config (on MacOS 15.5):

> cmake ../ -DWEBP_BUILD_WEBP_JS=ON

-- The C compiler identification is AppleClang 17.0.0.17000013

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/cc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

wasm2js does not support SIMD, disabling webp.js generation.

-- Performing Test HAVE_BUILTIN_BSWAP16

-- Performing Test HAVE_BUILTIN_BSWAP16 - Success

-- Performing Test HAVE_BUILTIN_BSWAP32

-- Performing Test HAVE_BUILTIN_BSWAP32 - Success

-- Performing Test HAVE_BUILTIN_BSWAP64

-- Performing Test HAVE_BUILTIN_BSWAP64 - Success

-- Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework

-- Performing Test HAVE_MATH_LIBRARY

-- Performing Test HAVE_MATH_LIBRARY - Success

-- Looking for include file GLUT/glut.h

-- Looking for include file GLUT/glut.h - found

-- Looking for include file GL/glut.h

-- Looking for include file GL/glut.h - not found

-- Looking for include file OpenGL/glut.h

-- Looking for include file OpenGL/glut.h - not found

-- Looking for include file shlwapi.h

-- Looking for include file shlwapi.h - not found

-- Looking for include file unistd.h

-- Looking for include file unistd.h - found

-- Looking for include file wincodec.h

-- Looking for include file wincodec.h - not found

-- Looking for include file windows.h

-- Looking for include file windows.h - not found

-- Performing Test WEBP_HAVE_FLAG_AVX2

-- Performing Test WEBP_HAVE_FLAG_AVX2 - Failed

-- Performing Test WEBP_HAVE_FLAG_AVX2

-- Performing Test WEBP_HAVE_FLAG_AVX2 - Failed

-- Performing Test HAS_COMPILE_FLAG

-- Performing Test HAS_COMPILE_FLAG - Failed

-- Performing Test WEBP_HAVE_FLAG_SSE41

-- Performing Test WEBP_HAVE_FLAG_SSE41 - Failed

-- Performing Test WEBP_HAVE_FLAG_SSE41

-- Performing Test WEBP_HAVE_FLAG_SSE41 - Failed

-- Performing Test HAS_COMPILE_FLAG

-- Performing Test HAS_COMPILE_FLAG - Failed

-- Performing Test WEBP_HAVE_FLAG_SSE2

-- Performing Test WEBP_HAVE_FLAG_SSE2 - Failed

-- Performing Test WEBP_HAVE_FLAG_SSE2

-- Performing Test WEBP_HAVE_FLAG_SSE2 - Failed

-- Performing Test HAS_COMPILE_FLAG

-- Performing Test HAS_COMPILE_FLAG - Failed

-- Performing Test WEBP_HAVE_FLAG_MIPS32

-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed

-- Performing Test WEBP_HAVE_FLAG_MIPS32

-- Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed

-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2

-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed

-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2

-- Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed

-- Performing Test HAS_COMPILE_FLAG

-- Performing Test HAS_COMPILE_FLAG - Failed

-- Performing Test WEBP_HAVE_FLAG_NEON

-- Performing Test WEBP_HAVE_FLAG_NEON - Success

-- Performing Test WEBP_HAVE_FLAG_MSA

-- Performing Test WEBP_HAVE_FLAG_MSA - Failed

-- Performing Test WEBP_HAVE_FLAG_MSA

-- Performing Test WEBP_HAVE_FLAG_MSA - Failed

-- Performing Test HAS_COMPILE_FLAG

-- Performing Test HAS_COMPILE_FLAG - Failed

-- Configuring done (6.0s)

-- Generating done (0.1s)

-- Build files have been written to: libwebp-1.6.0-rc1/build


> make

[...]

[100%] Building C object CMakeFiles/webp_wasm.dir/extras/webp_to_sdl.c.o

clang: error: no such file or directory: 'SDL2::SDL2'

make[2]: *** [CMakeFiles/webp_wasm.dir/extras/webp_to_sdl.c.o] Error 1

make[1]: *** [CMakeFiles/webp_wasm.dir/all] Error 2

make: *** [all] Error 2



--
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org .
To view this discussion visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/2653c18f-e070-4e3f-97d8-50b1d8236f6fn%40webmproject.org .
Message has been deleted

Vincent Rabaud

unread,
Jul 4, 2025, 10:01:53 PM Jul 4
to WebP Discussion, Pascal Massimino
This CMake command is not supported: you need to use it with emcmake, cf  https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/webp_js/

James Zern

unread,
Jul 7, 2025, 4:48:06 PM Jul 7
to webp-d...@webmproject.org, Pascal Massimino
On Fri, Jul 4, 2025 at 7:01 PM 'Vincent Rabaud' via WebP Discussion < webp-d...@webmproject.org > wrote:
This CMake command is not supported: you need to use it with emcmake, cf  https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/webp_js/

Since 4.0.9 I've also needed to set `-DSDL2_DIR=$EMSDK/upstream/emscripten/tools/ports/sdl2` to have `emcmake cmake ...` pass. That's done in the nightly build on Linux:  https://build.webmproject.org/jenkins/job/libwebp__compile_webp_js/ . I'll check mac behavior to be sure.

James Zern

unread,
Jul 7, 2025, 4:56:58 PM Jul 7
to webp-d...@webmproject.org, Pascal Massimino
On Mon, Jul 7, 2025 at 1:47 PM James Zern < jz...@google.com > wrote:


On Fri, Jul 4, 2025 at 7:01 PM 'Vincent Rabaud' via WebP Discussion < webp-d...@webmproject.org > wrote:
This CMake command is not supported: you need to use it with emcmake, cf  https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/webp_js/

Since 4.0.9 I've also needed to set `-DSDL2_DIR=$EMSDK/upstream/emscripten/tools/ports/sdl2` to have `emcmake cmake ...` pass. That's done in the nightly build on Linux:  https://build.webmproject.org/jenkins/job/libwebp__compile_webp_js/ . I'll check mac behavior to be sure.

With 4.0.10 `emcmake cmake ..  -DWEBP_BUILD_WEBP_JS=1 -DSDL2_DIR=$EMSDK/upstream/emscripten/tools/ports/sdl2` and `emmake make` work on Linux and Mac.
I don't know if we can detect emcmake to have the configuration fail.

James Zern

unread,
Jul 7, 2025, 5:06:24 PM Jul 7
to webp-d...@webmproject.org, Pascal Massimino
On Mon, Jul 7, 2025 at 1:56 PM James Zern < jz...@google.com > wrote:


On Mon, Jul 7, 2025 at 1:47 PM James Zern < jz...@google.com > wrote:


On Fri, Jul 4, 2025 at 7:01 PM 'Vincent Rabaud' via WebP Discussion < webp-d...@webmproject.org > wrote:
This CMake command is not supported: you need to use it with emcmake, cf  https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/webp_js/

Since 4.0.9 I've also needed to set `-DSDL2_DIR=$EMSDK/upstream/emscripten/tools/ports/sdl2` to have `emcmake cmake ...` pass. That's done in the nightly build on Linux:  https://build.webmproject.org/jenkins/job/libwebp__compile_webp_js/ . I'll check mac behavior to be sure.

With 4.0.10 `emcmake cmake ..  -DWEBP_BUILD_WEBP_JS=1 -DSDL2_DIR=$EMSDK/upstream/emscripten/tools/ports/sdl2` and `emmake make` work on Linux and Mac.
I don't know if we can detect emcmake to have the configuration fail.

We already use EMSCRIPTEN_VERSION in a check, so we can add a warning for that being empty.

James Zern

unread,
Jul 7, 2025, 5:16:39 PM Jul 7
to webp-d...@webmproject.org, Pascal Massimino
On Mon, Jul 7, 2025 at 2:06 PM James Zern < jz...@google.com > wrote:


On Mon, Jul 7, 2025 at 1:56 PM James Zern < jz...@google.com > wrote:


On Mon, Jul 7, 2025 at 1:47 PM James Zern < jz...@google.com > wrote:


On Fri, Jul 4, 2025 at 7:01 PM 'Vincent Rabaud' via WebP Discussion < webp-d...@webmproject.org > wrote:
This CMake command is not supported: you need to use it with emcmake, cf  https://chromium.googlesource.com/webm/libwebp/+/refs/heads/main/webp_js/

Since 4.0.9 I've also needed to set `-DSDL2_DIR=$EMSDK/upstream/emscripten/tools/ports/sdl2` to have `emcmake cmake ...` pass. That's done in the nightly build on Linux:  https://build.webmproject.org/jenkins/job/libwebp__compile_webp_js/ . I'll check mac behavior to be sure.

With 4.0.10 `emcmake cmake ..  -DWEBP_BUILD_WEBP_JS=1 -DSDL2_DIR=$EMSDK/upstream/emscripten/tools/ports/sdl2` and `emmake make` work on Linux and Mac.
I don't know if we can detect emcmake to have the configuration fail.

We already use EMSCRIPTEN_VERSION in a check, so we can add a warning for that being empty.

James Zern

unread,
Jul 9, 2025, 7:00:53 PM Jul 9
to WebP Discussion, James Zern
On Tuesday, July 1, 2025 at 5:27:53 PM UTC-7 James Zern wrote:
Hi,

Source and binary archives are available [1].

Everyone is encouraged to update. This release will be finalized in the next
week if there aren't any regressions.

The release has been finalized. There were only a couple non-library changes since rc1:
[2]:
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-ios-framework.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-linux-x86-64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-linux-aarch64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-linux-aarch64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-ios-framework.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-mac-x86-64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-windows-x64-no-wic.zip.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-mac-arm64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-windows-x64.zip
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-linux-x86-64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-mac-arm64.tar.gz.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-windows-x64-no-wic.zip
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-windows-x64.zip.asc
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0-mac-x86-64.tar.gz
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.6.0.tar.gz
Reply all
Reply to author
Forward
0 new messages