# Writes an image to the specified filename

Gmagick::write
GmagickDraw
Gmagick
PHP Manual

# Gmagick::writeimage

(PECL gmagick >= Unknown)

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

### Beschreibung

public void Gmagick::writeimage ( 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().

### Parameter-Liste

`filename`

  The image filename.

### Rückgabewerte

The Gmagick object

### Fehler/Exceptions

Throws an GmagickException on error.

Gmagick::write
GmagickDraw
Gmagick
PHP Manual