Image + text

Hello guys!
Is it possible to insert and limit a text inside an image? Leave the text linked to the image and prevent it from going beyond the boundaries of the image?
Thanks!!!