is this what you mean?
So you basically, you have some text like this:
Any you need it to be converted to an image and saved like this:
If that's what you need, then why not do this:
Make a new bitmap object with the correct dimiensions
Print the string onto the image
Save the bitmap file