How I can become a information during a rendering?

The question is:
How I can become a information about a pixel, which is rendered, during a rendering.
For example: I want to print a screen coordinates of the each pixel.

Umm i dont know if its possible cant you just write the data into the image file and read it as aint form there?

I do it now %)