TPixMap to TImage

BlitzMax Forums/BlitzMax Beginners Area/TPixMap to TImage

GregBUG(Posted 2007) [#1]
Hi!

another question...

How can i convert a TImage -> TPixMap and tPixMap -> tImage?

thanks!


klepto2(Posted 2007) [#2]
Image to Pix:

Pix:TPixMap = LockImage(Image)

Pix to TImage:

Img:Timage = LoadImage(pix:TPixmap)


Beaker(Posted 2007) [#3]
From pixmap to image:
myImage = LoadImage( myPixmap )

From image to pixmap:
myPixmap = LockImage(myImage)


GregBUG(Posted 2007) [#4]
Ok. Thanks Guys!

your help is very important for me!!

again THANKS.

Ciao