[comp.windows.x] Help with getting the value of a pixel in a window ..

srinivas@sybil.cs.Buffalo.EDU (Uma Srinivasan) (10/16/89)

Is creating a ximage of the window and using XGetpixel() the only
way I can get the pixel value?. I would like to know if there are
other ways of doing this.

Thanx
Uma




BITNET: srinivas@sunybcs.BITNET          Internet:  srinivas@cs.Buffalo.EDU
UUCP: ...!{watmath,boulder,decvax,rutgers}!sunybcs!srinivas

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (10/17/89)

    Is creating a ximage of the window and using XGetpixel() the only
    way I can get the pixel value?.

If you only want a few of the pixels, you don't have to read back the entire
window of course, but that's basically it.