Imagick::getImageColormapColor

(PECL imagick 2.0.0)

Imagick::getImageColormapColorReturns the color of the specified colormap index

Descrição

Imagick::getImageColormapColor ( int $index ) : ImagickPixel

Returns the color of the specified colormap index.

Parâmetros

index

The offset into the image colormap.

Valor Retornado

Retorna TRUE no sucesso.

Erros

Lança ImagickException em caso de erro.