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

Imagick::getImageColormapColor

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the color of the specified colormap index

Description

Imagick::getImageColormapColor(int $index): ImagickPixel

Returns the color of the specified colormap index.

Parameters

index

The offset into the image colormap.

Return Values

Success

Errors/Exceptions

Throws

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