Imagick
PHP Manual

Imagick::getImageIndex

(PECL imagick 2.0.0)

Imagick::getImageIndexGets the index of the current active image

설명

int Imagick::getImageIndex ( void )

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.

오류/예외

오류시에 ImagickException이 발생합니다.


Imagick
PHP Manual