Home > PHP > Function > > Imagick::getImageIndex()

Imagick::getImageIndex()

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

Syntax

int Imagick::getImageIndex ()

Arguments

-

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns an integer containing the index of the image in the stack. Throw an ImagickExceptionon error.