imagecreatefromavif

(PHP 8 >= 8.1.0)

imagecreatefromavif — 由文件或 URL 创建一个新图象。

说明

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。

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 由 站长在线 整理 版权归PHP文档组所有