Gmagick
PHP Manual

Gmagick::getimageindex

(PECL gmagick >= Unknown)

Gmagick::getimageindexGets the index of the current active image

说明

public int Gmagick::getimageindex ( void )

Returns the index of the current active image within the Gmagick object.

参数

此函数没有参数。

返回值

Index of current active image

错误/异常

Throws an GmagickException on error.


Gmagick
PHP Manual