How to setup blender to generate 2d background(s)
First of all, make sure your render resolution slider is set to 100%,
Also, (forgive me if I'm mentioning the obvious here), but If you're rendering in Cycles, you need to set your sample-count higher, as that may be what's causing the "pixelated" look. A good starting point should be something like 500 samples. See below: