Imagick::getImagePixelColor

(PECL imagick 2.0.0)
Returns the color of the specified pixel
ImagickPixel Imagick::getImagePixelColor ( int $x, int $y )

Returns the color of the specified pixel.

Parameters:
x

The x-coordinate of the pixel

y

The y-coordinate of the pixel

Returns:

Returns an ImagickPixel instance for the color at the coordinates given.

Exception:

Throws ImagickException on error.

doc_php
2016-02-24 16:01:03
Comments
Leave a Comment

Please login to continue.