The Imagick class
PHP Manual

Imagick::getImagePixelColor

(PECL imagick 2.0.0)

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. Throw an ImagickException on error.

Грешки/Изключения

Хвърля ImagickException при грешка.


The Imagick class
PHP Manual