Does render samples matter when using imported images in Compositor?
Samplings do not count in the Compositing process.

If you don't have any RenderLayer Node in the NodeTree, the 3D scene won't even be rendered, but the nodeTree will so, it doesn't count. You can have strange artifacts in glare if the Quality of the node is set to low.