Draw string on image?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ondesic

I know you can blend or blit one image on to another, but I really need to draw a string onto an image. I want to propose this as a feature request but don’t know how the Image drawing functions work. Do you think it is possible to add this feature?

You coud create a node that has an image and a label for children.

SteveSmith | 2023-01-04 15:57

Yes, but I actually need the text burned into the image so that when the image is saved it will contain the text.

ondesic | 2023-01-04 17:41

:bust_in_silhouette: Reply From: jtruji68

Ive been looking for it and I havent found the soluton yet, maybe if you instance the string over the object you want to save, take a screenshot, crop it and save it. Something like this:

https://forum.godotengine.org/136868/how-to-crop-center-of-an-image