Php/docs/imagick.getnumberimages

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

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.


返回值

Returns the number of images associated with Imagick object.


错误/异常

错误时抛出 ImagickException。