Gmagick
PHP Manual

Gmagick::readimagefile

(PECL gmagick >= Unknown)

Gmagick::readimagefileThe readimagefile purpose

说明

public Gmagick Gmagick::readimagefile ( resource $fp [, string $filename ] )

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

参数

fp

The file descriptor.

返回值

The Gmagick object on success

错误/异常

错误时抛出 GmagickException


Gmagick
PHP Manual