How to apply custom lens distortion parameters to a rendered image?
You can enter the distortion data per loaded 'clip' in the 'Track' panel of Movie Clip Editor (N) and use a Movie Distortion node in the Compositor to distort your image based on the values:



I'd suggest go to the 'Compositing' workspace, enable 'Use Nodes', switch the editor type of the 'Timeline' to 'Movie Clip Editor', load any arbitrary image with the same aspect ratio, set your values for K1, K2 etc. and add a Movie Distortion node to your node stream in the compositor.