Gmagick::getimageindex

(PECL gmagick >= Unknown)

Gmagick::getimageindexGets the index of the current active image

Description

public Gmagick::getimageindex ( ) : int

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

Parameters

This function has no parameters.

Return Values

Index of current active image

Errors/Exceptions

Throws an GmagickException on error.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.getimageindex.php