Issue Bug Closed

#108859AVIF image tests use wrong target file extension

André Buchmann 02/04/26, 15:23 updated 03/31/26, 08:10

Description

In the TYPO3 Backend → Environment → Image Processing tests, AVIF images are written with an incorrect target file extension.

When converting images to AVIF (e.g. PNG → AVIF), the generated target file still uses a .png (or .jpg) extension instead of .avif.
Example from the Image Processing modal (TYPO3 v14):

'/usr/bin/convert' ... 
'png:/var/www/html/typo3/sysext/install/Resources/Public/Images/TestInput/Transparent.png[0]' 
'/var/www/html/typo3temp/assets/images/installTool-read-avif6983572596240315347629.png'

The target file should have an .avif extension.
For comparison: WebP and other formats use the correct target extensions.

In TYPO3 v13, AVIF tests output .jpg, which results in a black background instead of preserved transparency.

This affects multiple AVIF-related tests in the Environment module.

Expected behavior:

AVIF conversions should consistently generate files with the .avif extension, matching the actual output format and preserving transparency where applicable.

Reviews 3