The Imagick class
PHP Manual

Imagick::getImagePixelColor

(No version information available, might be only in CVS)

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, throws ImagickException on error.

Erros

Dispara ImagickException em erro.


The Imagick class
PHP Manual