Gmagick
PHP 手册

Gmagick::write

(PECL gmagick >= Unknown)

Gmagick::writeWrites an image to the specified filename

说明

public void Gmagick::write ( string $filename )

Writes an image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by Gmagick::ReadImage() or Gmagick::SetImageFilename().

参数

filename

The image filename.

返回值

The Gmagick object

错误/异常

错误时抛出 GmagickException


Gmagick
PHP 手册