ImagickPixel::setIndex

ImagickPixel::setIndexSets the colormap index of the pixel wand

Description

public ImagickPixel::setIndex(int $index): bool

Sets the colormap index of the pixel wand.

Parameters

index

Return Values

Returns true on success.