# Gmagick::readimagefile

(PECL gmagick >= Unknown)

Gmagick::readimagefile — The readimagefile purpose

### 说明

public Gmagick::readimagefile(resource `$fp`, string `$filename` = ?): Gmagick

Reads an image or image sequence from an open file descriptor.

### 参数

`fp`
  The file descriptor.

### 返回值

The Gmagick object.

### 错误／异常

错误时抛出 GmagickException。

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