• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • Gmagick::getimagecolors()

    (PECL gmagick >= Unknown)

    Returns the color of the specified colormap index

    说明

    publicGmagick::getimagecolors(void): int

    Returns the color of the specified colormap index.

    参数

    此函数没有参数。

    返回值

    The number of colors in image.

    错误/异常

    错误时抛出GmagickException