Imaging processing with OpenGL

OK.One of my friends want to find a way to find the RGB or RGBA values of each pixel of the image.So are there any OpenGL functions to do this?
Any article or suggestion?
-Ehsan-

glReadPixels

glCopyTex*Image

will help

Also glReadBuffer will help too. You’ll get an array of RGB values for each pixel in the screen.

glReadPixels would help but that doesn’t save a complete screen.

For more complex imaging stuff there are nvidia imaging extensions to opengl.