PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Imagick::setImageColormapColor

(PECL imagick 2.0.0)

Imagick::setImageColormapColorSets the color of the specified colormap index

Description

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

Sets the color of the specified colormap index.

Parameters

index

color

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.

PHP Manual