GD - AVIF image support is enabled, yet imagecreatefromavif()
does not run because AVIF image support is disabled
#12197
Labels
imagecreatefromavif()
does not run because AVIF image support is disabled
#12197
Description
I have this issue over here, but I thought I would create an issue here because it seems like this is more source code based, rather than compilation based.
PHP 8.2 has the GD extension enabled (2.3.3), with AVIF support confirmed (libavif v0.9.3-3) through
phpinfo()
andgd_info()
. However running the following code:$gd_image = imagecreatefromavif($image_path);
Results in the warning:
Warning: imagecreatefromavif(): AVIF image support has been disabled
Obviously the expected output when AVIF support is enabled is for the function to work properly.
PHP Version
PHP 8.2
Operating System
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: