Create a new image from file or URL
$filename
imagecreatefromavif returns an image object representing the image obtained from the given filename.
filename
Path to the AVIF raster image.
Returns an image object on success, false on errors.
false