XGetPixel

XGetPixel 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.

version(linux && !XUTIL_DEFINE_FUNCTIONS)
@nogc
c_ulong
XGetPixel
(
XImage* ximage
,
int x
,
int y
)

Parameters

ximage XImage*

Specifies the image.

x int

Specify the x coordinate.

y int

Specify the y coordinate.

See Also

XAddPixel(), XCreateImage(), XGetPixel(), XPutPixel(), XSubImage(), http://tronche.com/gui/x/xlib/utilities/manipulating-images.html

Meta