php / 8.1.5 / function.imagecreatefromavif.html /

imagecreatefromavif

(PHP 8 >= 8.1.0)

imagecreatefromavifCreate a new image from file or URL

Description

imagecreatefromavif(string $filename): GdImage|false

imagecreatefromavif() returns an image object representing the image obtained from the given filename.

Parameters

filename

Path to the AVIF raster image.

Return Values

Returns an image object on success, false on errors.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.imagecreatefromavif.php