ImageColorAt

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ImageColorAt -- Get the index of the color of a pixel

Description

int imagecolorat (int im, int x, int y)

Returns the index of the color of the pixel at the specified location in the image.

See also imagecolorset() and imagecolorsforindex().