(PECL imagick 2, PECL imagick 3)
Imagick::setImageColormapColor — Sets the color of the specified colormap index
$index
$color
Sets the color of the specified colormap index.
index
color
成功時(shí)返回 true。
true
錯(cuò)誤時(shí)拋出 ImagickException。