编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::getImageColormapColor
  • Imagick::getImageColorspace »
  • PHP Manual
  • Imagick
  • Gets the number of unique colors in the image

Imagick::getImageColors

(PECL imagick 2.0.0)

Imagick::getImageColors — Gets the number of unique colors in the image

说明

Imagick::getImageColors ( void ) : int

Gets the number of unique colors in the image.

返回值

Returns an integer, the number of unique colors in the image.

相关文章
php imagick replaces colors in the imagephp imagick gets the depth for a particular image channelphp imagick gets the number of unique colors in the imagephp imagick gets the image colorspacephp imagick gets the current image s compression typephp imagick gets the current image s compression qualityphp imagick gets the image delayphp imagick gets the image depthphp imagick gets the image histogramphp imagick gets the index of the current active imagephp imagick gets the image interlace schemephp imagick gets the image iterationsphp imagick gets the image rendering intentphp imagick gets the index of the current active imagephp imagick replaces colors in the imagephp imagick replaces the colors of an image with the closest color from a reference imagephp imagick negates the colors in the reference imagephp imagick reduces the image to a limited number of color levelphp imagick analyzes the colors within a reference imagephp imagick remaps image colors
关注编程学问公众号
编程学问网 湘ICP备20001732号