Please wait while we load your page...


Latest Version [8.00202205221] Last Updated [May-22-2022]


PHP Manual [Imagick

Protect Your Website Today

PHP Manual || Imagick

(PECL imagick 0.9.0-0.9.9)

Imagick::writeImageWrites an image to the specified filename


Imagick::writeImage ([ string $filename = NULL ] ) : bool

Writes an image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by Imagick::readImage() or Imagick::setImageFilename().



Filename where to write the image. The extension of the filename defines the type of the file. Format can be forced regardless of file extension using format: prefix, for example "jpg:test.png".

Return Values

Returns TRUE on success.

PHP Manual || Imagick