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

Imagick::setImageColormapColor()

Imagick::setImageColormapColor - Sets the color of the specified colormap index

Syntax

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

Arguments

  • index
  • color

Description

Sets the color of the specified colormap index.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.