The Imagick class
PHP Manual

Imagick::getImagePixelColor

(PECL imagick 2.0.0)

Imagick::getImagePixelColorReturns the color of the specified pixel

Opis

ImagickPixel Imagick::getImagePixelColor ( int $x , int $y )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Returns the color of the specified pixel.

Parametry

x

The x-coordinate of the pixel

y

The y-coordinate of the pixel

Zwracane wartości

Returns an ImagickPixel instance for the color at the coordinates given, throws ImagickException on error.

Błędy/Wyjątki

Zgłasza wyjątek ImagickException w przypadku błędu.


The Imagick class
PHP Manual