how to program with pixelmap?............

hai ,

Can you anyone help me to get and manipulate the pixelmap of the given square?

Actually i didn’t get any program that displays the pixelmap of the drawn object…
i know the function glpixelmap(),glgetpixelmap().But i didn’t know the way how to proceed with them.

please help me …

Are you sure you don’t confuse pixelmaps with framebuffer content? Then the function you are looking for is glReadPixels…