The Imagick class
PHP Manual

Imagick::getImageColormapColor

(PECL imagick 2.0.0)

Imagick::getImageColormapColorReturns the color of the specified colormap index

说明

ImagickPixel Imagick::getImageColormapColor ( int $index )
Warning

本函数还未编写文档,仅有参数列表。

Returns the color of the specified colormap index.

参数

index

The offset into the image colormap.

返回值

Returns TRUE on success.

错误/异常

Throws ImagickException on error.


The Imagick class
PHP Manual