php8.5
Home/ Manual/ imagick / imagick/ Imagick::setImageColormapColor

Imagick::setImageColormapColor

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Sets the color of the specified colormap index

Description

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

Sets the color of the specified colormap index.

Parameters

index
color

Return Values

Success

Errors/Exceptions

Throws

Source: reference/imagick/imagick/setimagecolormapcolor.xml · from the official PHP manual (php/doc-en)