(PECL imagick 2 >= 2.3.0, PECL imagick 3)
ImagickPixel::setIndex — Sets the colormap index of the pixel wand
$index
Sets the colormap index of the pixel wand.
index
Returns true on success.
true