Gmagick::__construct

(PECL gmagick >= Unknown)

Gmagick::__constructThe Gmagick constructor

说明

public Gmagick::__construct(string $filename = ?)

The Gmagick constructor.

参数

filename

The path to an image to load or array of paths.

返回值

Returns a new Gmagick object.

错误/异常

错误时抛出 GmagickException