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.