imaging in openGL

hi…
I am quite new to this openGL programming and i would like to know if i can get some codes for obtaining an image input from the user and then extracting pixel information from the image as according to the pixel pointed by the user thru a mouse click.

can any pls help me out on this ??
thanx :slight_smile:

Do you want the user to be able to load a picture and then select a point on it ???

yes, u got it right…the user should be able to load a pic from his computer or a cd and then choose a point on it…then,the pixel info has to be extracted by our program with respect to the point clicked by the user.info like brightness,color and texture should be obtained by the program.