Bug #105557
openImage Processing check fails
0%
Description
Trying to check Image Processing capabilites, I get the error message
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: imageavif(): avif error - Could not encode image: No codec available in /home/www/mycms/vendor/typo3/cms-frontend/Classes/Imaging/GifBuilder.php line 2624
PHP Info shows AVIF Support enabled for imagick and GD
or console
php -i | grep AVIF -> AVIF Support => enabled
No matter if GraphicsMagick or ImageMagick is selected as Configuration Preset/ Installation-Wide Options -> ImageProcessing [GFX].
For v12 on same hosting package the test works fine - probably because of the newly avif-feauture of v13.
Updated by Garvin Hicking 11 days ago
- Status changed from New to Needs Feedback
gdlib functionality of AVIF support can also depend on the installed encoder on system level. Specifically libavif-dev
- see https://stackoverflow.com/questions/70398133/php8-1-how-do-i-get-imageavif-to-work for an example.
Sadly this cannot be detected on the PHP level and only becomes apparent (with an error) when the conversion is tried.
Did you check "Admin Tools > Environment > Image Processing > Create avif image with box from file" and see what it says there?