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

Imagick::setImageIndex

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

(PECL imagick 2, PECL imagick 3)

Set the iterator position

Function-3-4-4

Description

Imagick::setImageIndex(int $index): bool

Set the iterator to the position in the image list specified with the index parameter.

This method has been deprecated. See Imagick::setIteratorIndex().

Parameters

index

The position to set the iterator to

Return Values

Success

Errors/Exceptions

Throws

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