No CopyImage

BlitzMax Forums/BlitzMax Beginners Area/No CopyImage

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.

Hmm, so BMax has no CopyImage command. I haven't needed it until just now. I did a search and found a thread that said draw it to the backbuffer and then grab it but this might be a bit slow for on-the-fly copies due to you having to call CLS first and then do the grab image.

Is there a way to perhaps access the underlying TPixmap and copy that? Thanks. I really just want to go like this:

myimage:TImage = CopyImage(anotherimage)

or maybe

myimage:TImage = anotherimage.Copy()

or even

myimage:TImage = TImage.CreateFromCopy(anotherimage)

you get the idea...