= Unknown)Gmagick::writeimage — Writes an image to the specified filename說明public Gmagick::writeimage(string $filena">

Gmagick::writeimage

(PECL gmagick >= Unknown)

Gmagick::writeimageWrites an image to the specified filename

說明

public Gmagick::writeimage(string $filename, bool $all_frames = false): Gmagick

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().

參數(shù)

filename

The image filename.

返回值

The Gmagick object.

錯誤/異常

錯誤時拋出 GmagickException。