Imagick::getNumberImages

(PECL imagick 2.0.0)

Imagick::getNumberImagesReturns the number of images in the object

说明

Imagick::getNumberImages ( void ) : int

Returns the number of images associated with Imagick object.

返回值

Returns the number of images associated with Imagick object.

错误/异常

错误时抛出 ImagickException。