update : 2015.11.03
php.shukuma.com

검색:
 
 
Returns the color of the specified pixel

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.

오류/예외

오류시에 ImagickException이 발생합니다.