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
indexThe offset into the image colormap.
Return Values
Success
Errors/Exceptions
Throws