Gmagick
PHP 手册

Gmagick::getimageindex

(PECL gmagick >= Unknown)

Gmagick::getimageindexGets the index of the current active image

说明

public void Gmagick::getimageindex ( void )

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

参数

This function has no parameters.

返回值

Index of current active image

错误/异常

Throws an GmagickException on error.


Gmagick
PHP 手册