php8.5
Home/ Manual/ imagick / imagick/ Imagick::getImageIndex

Imagick::getImageIndex

PHP function Deprecated as of PECL imagick 3.4.4 Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Gets the index of the current active image

Function-3-4-4

Description

Imagick::getImageIndex(): int

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

Parameters Parameters

Return Values

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

Errors/Exceptions

Throws

Source: reference/imagick/imagick/getimageindex.xml · from the official PHP manual (php/doc-en)