Rendering an Image with a Specific Size
You can specify the render size in the dimensions section on the render panel just as you do for any other image rendering. To get the full resolution of the final image, also make sure that the Percentage scale for render resolution slider is set to 100%.

This setting is also for animations, and behaves exactly the same way.