The Imagick class
PHP Manual

Imagick::getImagePixelColor

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

Imagick::getImagePixelColorReturns the color of the specified pixel

Description

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

This function is currently not documented; only its argument list is available.

Returns the color of the specified pixel.

Parameters

x

The x-coordinate of the pixel

y

The y-coordinate of the pixel

Return Values

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

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual