How to superimpose my activity details on a photo?

Hi guys! The title says it all. So, I have seen many people share stories of their runs/activities from strava with things like distance/pace/time etc superimposed on a picture. How is it done? Is there any option to export this?