Imagick::getImagePixelColor
(PECL imagick 2, PECL imagick 3)
Imagick::getImagePixelColor — Returns the color of the specified pixel
说明
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.
错误/异常
错误时抛出 ImagickException。