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

Imagick::uniqueImageColors()

Imagick::uniqueImageColors - Discards all but one of any pixel color

Syntax

bool Imagick::uniqueImageColors ()

Arguments

-

Description

Discards all but one of any pixel color. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.