Imagick
PHP Manual

Imagick::setImageColormapColor

(PECL imagick 2.0.0)

Imagick::setImageColormapColorSets the color of the specified colormap index

Descrição

bool Imagick::setImageColormapColor ( int $index , ImagickPixel $color )

Sets the color of the specified colormap index.

Parâmetros

index

color

Valor Retornado

Returns TRUE on success.

Erros

Throws ImagickException on error.


Imagick
PHP Manual