Saving Text to an Image

BlitzMax Forums/BlitzMax Programming/Saving Text to an Image

Hello!

I am trying to figure out if there is a way I can save text to an image for later use. I would like to use this approach to 'pre-render' the repeated pieces of text.

Does anyone have any methods that I could use to do this?

Render text to screen. Grab the image.

So drawtext and grabimage are used.

yes, don't forget that you don't have to call flip so the player will never see the text. Grabimage works best before Flipping anyway.