# Gmagick::writeimage

(PECL gmagick >= Unknown)

Gmagick::writeimage — Writes an image to the specified filename

### Beschreibung

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

### Parameter-Liste

`filename`

  The image filename.

### Rückgabewerte

The Gmagick object.

### Fehler/Exceptions

Wirft bei einem Fehler eine GmagickException.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open