Imagick
PHP Manual

Imagick::getImageColormapColor

(PECL imagick 2.0.0)

Imagick::getImageColormapColorReturns the color of the specified colormap index

Descrição

ImagickPixel Imagick::getImageColormapColor ( int $index )

Returns the color of the specified colormap index.

Parâmetros

index

The offset into the image colormap.

Valor Retornado

Returns TRUE on success.

Erros

Throws ImagickException on error.


Imagick
PHP Manual