The Imagick class
PHP Manual

Imagick::getNumberImages

(PECL imagick 2.0.0)

Imagick::getNumberImagesReturns the number of images in the object

Description

int Imagick::getNumberImages ( void )
Warning

This function is currently not documented; only its argument list is available.

Returns the number of images associated with Imagick object.

Return Values

Returns the number of images associated with Imagick object. Throw an ImagickException on error.


The Imagick class
PHP Manual