Saving Text to an Image

BlitzMax Forums/BlitzMax Programming/Saving Text to an Image

Black Hydra(Posted 2006) [#1]
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?


Dreamora(Posted 2006) [#2]
Render text to screen. Grab the image.

So drawtext and grabimage are used.


Grey Alien(Posted 2006) [#3]
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.