The Imagick class
PHP Manual

Imagick::getImagePixelColor

(PECL imagick 2.0.0)

Imagick::getImagePixelColorReturns the color of the specified pixel

Descrição

ImagickPixel Imagick::getImagePixelColor ( int $x , int $y )
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Returns the color of the specified pixel.

Parâmetros

x

The x-coordinate of the pixel

y

The y-coordinate of the pixel

Valor Retornado

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

Erros

Dispara ImagickException em erro.


The Imagick class
PHP Manual