Php/docs/imagick.construct
来自菜鸟教程
Imagick::__construct
(PECL imagick 2, PECL imagick 3)
Imagick::__construct — The Imagick constructor
说明
public Imagick::__construct
([ mixed $files
] )
Creates an Imagick instance for a specified image or set of images.
参数
files
- The path to an image to load or an array of paths. Paths can include wildcards for file names, or can be URLs.
返回值
Returns a new Imagick object on success.
错误/异常
错误时抛出 ImagickException。