Provides WebPDecoder and WebPEncoder.
This plugin uses Java 22's new Foreign Function & Memory API ("Panama”) to call into Google's WebP codec library, libwebp. libwebp is not included and must be provided separately.
This plugin was developed against libwebp version 1.3.2, but other versions should work so long as they are API-compatible.
Once libwebp has been installed, its containing directory must be present on
the Java library path. You can either change your library path to include it
(by adding the -Djava.library.path
VM argument to your config/jvm.options
file), or move the library files to one of the directories on that path. Galia
logs the Java library path at startup.
Use the plugin installer:
bin/install_plugin.sh galia-plugin-webp
Alternatively, download the plugin directly and extract it into Galia's plugins directory.
If you'd like to override any of the default settings used by WebPEncoder, copy the keys from config.yml.sample into your application configuration file and edit them there.