Imagick::setImageColormapColor

(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.

doc_php
2016-02-24 16:01:20
Comments
Leave a Comment

Please login to continue.