php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::writeimage

Gmagick::writeimage

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Writes an image to the specified filename

Description

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.

Parameters

filename

The image filename.

Return Values

The Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/writeimage.xml · from the official PHP manual (php/doc-en)