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。