Gmagick::getimagecolors

(PECL gmagick >= Unknown)

Gmagick::getimagecolors Returns the color of the specified colormap index

说明

public Gmagick::getimagecolors(): int

Returns the color of the specified colormap index.

参数

此函数没有参数。

返回值

The number of colors in image.

错误/异常

错误时抛出 GmagickException

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top