# Imagick::getNumberImages

(PECL imagick 2, PECL imagick 3)

Imagick::getNumberImages — Returns 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。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open