XGetPixel(3X) XLIB FUNCTIONS XGetPixel(3X)NAMEXGetPixel - returns the specified pixel from the named image
SYNTAX
unsigned long XGetPixel(ximage, x, y)
XImage *ximage;
int x;
int y;
ARGUMENTS
ximage Specifies the image.
x
y Specify the x and y coordinates.
DESCRIPTION
The XGetPixel function returns the specified pixel from the named
image. The pixel value is returned in normalized format (that is, the
least-significant byte of the long is the least-significant byte of the
pixel). The image must contain the x and y coordinates.
SEE ALSOXInitImage(3X), XCreateImage(3X), XPutPixel(3X), XSubImage(3X), XAd‐
dPixel(3X), XDestroy(3X)X Version 11 Release 6 XGetPixel(3X)