Imagick::getImageColormapColor
Imagick::getImageColorspace
Imagick
PHP Manual

# Imagick::getImageColors

(PECL imagick 2.0.0)

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

### Descrição

int Imagick::getImageColors ( void )

Gets the number of unique colors in the image.

### Valor Retornado

Returns `TRUE` on success.

Imagick::getImageColormapColor
Imagick::getImageColorspace
Imagick
PHP Manual