Home > PHP > Function > > Imagick::getImageColormapColor()

Imagick::getImageColormapColor()

Imagick::getImageColormapColor - Returns the color of the specified colormap index

Syntax

ImagickPixel Imagick::getImageColormapColor (int $index)

Arguments

  • index - The offset into the image colormap.

Description

Returns the color of the specified colormap index.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.