Gets the index of the current active image

# Imagick::getImageIndex

(PECL imagick 2.0.0)

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

### Descrierea

Imagick::getImageIndex ( void ) : int

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

### Valorile întoarse

Returns an integer containing the index of the image in the stack.

### Erori/Excepții

Emite ImagickException în caz de eroare.