PDA

View Full Version : Get the color value from a picture file



moonman
06-16-2001, 04:35 AM
Im using OpenGL and GLUT and would like to look at some code about this...

I would like to have a picture file, you can tell me what format I should use, and be able to point out the coordinates to one pixel and get the color value back, the picture is black and white.

Thanks for those answeres I may recive.