juce-framework / JUCE

JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
https://juce.com
Other
6.31k stars 1.67k forks source link

WEBP image format support #1338

Closed MajorMurphy closed 4 months ago

MajorMurphy commented 5 months ago

I've included libwebp 07b7185, which closes #274

Supports decoding and encoding 24-bit and 32-bit RGB and ARGB images.

Encoding by default is lossless. However lossy encoding is possible by calling WEBPImageFormat::setQuality(bool shouldBeLossless, float newQuality). The quality value range is 0 - 1.0, same as JPEGImageFormat::setQuality.

Tested building with

MajorMurphy commented 4 months ago

Closing due to discovering the availability of this module: https://github.com/FigBug/Gin/tree/master/modules/gin_webp