Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::getimagehistogramGmagick::getimageinterlacescheme>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::getimageindex

(PECL gmagick >= Unknown)

Gmagick::getimageindex — Gets the index of the current active image

Description

public function 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.


<Gmagick::getimagehistogramGmagick::getimageinterlacescheme>
^GmagickLast updated: Mon, 26 Oct 2026