= 8.1.0)imagecreatefromavif — 由文件或 URL 創(chuàng)建一個新圖象。說明imagecreatefromavif(string $filename): GdImage|falseimagecreatefromavif() ">

imagecreatefromavif

(PHP 8 >= 8.1.0)

imagecreatefromavif由文件或 URL 創(chuàng)建一個新圖象。

說明

imagecreatefromavif(string $filename): GdImage|false

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

參數

filename

Path to the AVIF raster image.

返回值

成功后返回圖象對象,失敗后返回 false