Imagick Image Library
PHP Manual

Imagick::getImageIndex

(No version information available, might be only in CVS)

Imagick::getImageIndex — Gets the index of the current active image

Description

int Imagick::getImageIndex ( void )
Warning

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

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Returns the index of the current active image within the Imagick object. This method has been deprecated. See Imagick::getIteratorIndex

Parameters

Return Values

Returns an integer containing the index of the image in the stack, throwing ImagickException on error.


Imagick Image Library
PHP Manual