Gmagick::setfilename

(PECL gmagick >= Unknown)

Gmagick::setfilenameSets 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.