Gmagick::read

(PECL gmagick >= Unknown)

Gmagick::readReads image from filename

说明

public Gmagick::read(string $filename): Gmagick

Reads image from filename.

参数

filename

The image filename.

返回值

The Gmagick object.

错误/异常

错误时抛出 GmagickException