The Imagick class
PHP Manual

Imagick::getImagePixelColor

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

Imagick::getImagePixelColorReturns the color of the specified pixel

Описание

ImagickPixel Imagick::getImagePixelColor ( int $x , int $y )
Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

Returns the color of the specified pixel.

Список параметров

x

The x-coordinate of the pixel

y

The y-coordinate of the pixel

Возвращаемые значения

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