Create png/jpg out of DB data

I want to create an image png/jpg out of data from the DB.

E.g.

  • User name
  • User Pic

Then create an image out of this with the user pic on the left side and the name of the user to the right. Also add my logo to it.

That image should then be the social sharing pic of that user (but that’s not part of my question).

My question really is how to create a graphic out of Bubble data.