Imagick Image Library
PHP Manual

Imagick::getImagePixelColor

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

Imagick::getImagePixelColor — Returns the color of the specified pixel

Description

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

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

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Returns the color of the specified pixel.

Parameters

x

y

Return Values

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


Imagick Image Library
PHP Manual