Make the text the color and size you want, put it on the image where you want. Then: text to path. Then stroke path, in some color that strongly contrasts with the text. Like if the text is white, stroke in black. How wide the stroke should be depends on the size of the text and the resolution of your image, you may need to try a few times.
Slightly easier way is:
Make the text the color and size you want, put it on the image where you want. Then: text to path. Then stroke path, in some color that strongly contrasts with the text. Like if the text is white, stroke in black. How wide the stroke should be depends on the size of the text and the resolution of your image, you may need to try a few times.
Then you’re done, export to jpg or PNG.