Saving Text to an Image

BlitzMax Forums/BlitzMax Programming/Saving Text to an Image

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.