Gmagick::getimagecolors()
(PECL gmagick >= Unknown)
Returns the color of the specified colormap index
说明
public Gmagick::getimagecolors(void): int
Returns the color of the specified colormap index.
参数
此函数没有参数。
返回值
The number of colors in image.
错误/异常
错误时抛出GmagickException。