Imagick::getNumberImages

(PECL imagick 2, PECL imagick 3)

Imagick::getNumberImagesReturns the number of images in the object

說明

public Imagick::getNumberImages(): int

Returns the number of images associated with Imagick object.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the number of images associated with Imagick object.

錯誤/異常

錯誤時(shí)拋出 ImagickException。