Php/docs/gmagick.construct

来自菜鸟教程
跳转至:导航、​搜索

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 on success.


错误/异常

错误时抛出 GmagickException