Home > PHP > Function > > Imagick::getImageColors()

Imagick::getImageColors()

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

Syntax

int Imagick::getImageColors ()

Arguments

-

Description

Gets the number of unique colors in the image.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.