$ php -i | grep -i webp
WebP Support => enabled<?php
echo "webp support: " . (function_exists('imagewebp') && defined('IMG_WEBP') && (imagetypes() & IMG_WEBP) === IMG_WEBP ? 'yes' : 'no');If not, see Dockerfile!
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] has to contain "webp".
TYPO3 saves any previously failed attempts to convert images to webp, so after enabling support you might wanna delete those failed attempts.
DELETE FROM sys_file_processedfile WHERE name IS NULL;or go to the BE module "maintenance" and "Remove Temporary Assets".