The Imagick class
PHP 手册

Imagick::getImagePixelColor

(PECL imagick 2.0.0)

Imagick::getImagePixelColorReturns the color of the specified pixel

说明

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

本函数暂无文档,仅有参数列表。

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.

错误/异常

Throws ImagickException on error.


The Imagick class
PHP 手册