Imagick::__construct

(PECL imagick 2, PECL imagick 3)

Imagick::__constructThe Imagick constructor

說(shuō)明

public Imagick::__construct(mixed $files = ?)

Creates an Imagick instance for a specified image or set of images.

參數(shù)

files

The path to an image to load or an array of paths. Paths can include wildcards for file names, or can be URLs.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 ImagickException。