(PECL imagick 2.0.0)
Sets the color of the specified colormap index
bool Imagick::setImageColormapColor ( int $index, ImagickPixel $color )
Sets the color of the specified colormap index.
Parameters:
index
Sets the color of the specified colormap index.
color
Sets the color of the specified colormap index.
Returns:
Returns TRUE
on success.
Exception:
Throws ImagickException on error.
Please login to continue.