Sets the filename before you read or write the image

# Gmagick::setfilename

(PECL gmagick >= Unknown)

Gmagick::setfilename — Sets the filename before you read or write the image

### Descrierea

public Gmagick::setfilename ( string `$filename` ) : Gmagick

Sets the filename before you read or write an image file.

### Parametri

`filename`

  The image filename.

### Valorile întoarse

The Gmagick object on success

### Erori/Excepții

Emite o GmagickException în caz de eroare.