Vector image as background
The compositor only imports bitmapped images like OpenEXR tiff png jpeg etc. Perhaps you could open the pdf in a pdf app then export it or try screen grabbing it. To use svg files you can try importing them as an object in the 3d view then film that with the 3D camera. This can be added to the compositor as a "Scene" node.