展开

开发者手册

PHPImage/ImageMagickImagick::getImageColors

Imagick::getImageColors

(PECL imagick 2.0.0)

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

Description

代码语言:javascript
复制
int Imagick::getImageColors ( void )

Gets the number of unique colors in the image.

Return Values

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

← Imagick::getImageColormapColor

Imagick::getImageColorspace →

代码语言:txt
复制
 © 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.