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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.