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

### 说明

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

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

### 参数

`filename`
  The image filename.

### 返回值

The Gmagick object.

### 错误／异常

错误时抛出 GmagickException。

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