I want to save an image from an openGL View

…but with a different resolution any time (150 dpi, i.e.)
How could I do this?
Help me, please…

Anybody knows?
Please, help me…