Imagick
PHP Manual

Imagick::uniqueImageColors

(PECL imagick 2.0.0)

Imagick::uniqueImageColorsDiscards all but one of any pixel color

Opis

bool Imagick::uniqueImageColors ( void )

Discards all but one of any pixel color. Ta metoda jest dostępna, jeśli rozszerzenie Imagick zostało skompilowane z ImageMagick w wersji 6.2.9 lub nowszej.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.


Imagick
PHP Manual