PDA

View Full Version : A way to get the color value from a picure file



moonman
06-12-2001, 09:55 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.