(PECL imagick 2.0.0)
Imagick::getImageIndex — Gets the index of the current active image
Returns the index of the current active image within the Imagick object. This method has been deprecated. See Imagick::getIteratorIndex().
Returns an integer containing the index of the image in the stack.
Emite ImagickException în caz de eroare.