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
 
<ImagickPixel::getHSLImagickPixel::isPixelSimilar>
^ImagickPixelLast updated: Mon, 26 Oct 2026

ImagickPixel::getIndex

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

ImagickPixel::getIndex — Gets the colormap index of the pixel wand

Description

public function ImagickPixel::getIndex(): int

Gets the colormap index of the pixel wand.

Parameters

This function has no parameters.

Return Values


<ImagickPixel::getHSLImagickPixel::isPixelSimilar>
^ImagickPixelLast updated: Mon, 26 Oct 2026