it needs to be configured with `--with-webp` so that webp support is included.