Take "screenshot" from camera view with high resolution

I think this is a slightly stupid question, however, how can I take a screenshot of my workspace directly from the camera, in the same resolution as specified in the render settings? Because to make a simple screenshot does not suit me, because of the low resolution.

Well, it was extremely simple!

( https://blender.stackexchange.com/questions/104841/screenshot-the-viewport-how-do-i-adjust-the-quality-of-the-opengl-render?rq=1 )