Gmagick
PHP 手册

Gmagick::setfilename

(PECL gmagick >= Unknown)

Gmagick::setfilenameSets the filename before you read or write the image

说明

public void Gmagick::setfilename ( string $filename )

Sets the filename before you read or write an image file.

参数

filename

The image filename.

返回值

The Gmagick object on success

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册