TPixMap to TImage

BlitzMax Forums/BlitzMax Beginners Area/TPixMap to TImage

Hi!

another question...

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

thanks!

Image to Pix:

Pix:TPixMap = LockImage(Image)

Pix to TImage:

Img:Timage = LoadImage(pix:TPixmap)

From pixmap to image:
myImage = LoadImage( myPixmap )

From image to pixmap:
myPixmap = LockImage(myImage)

Ok. Thanks Guys!

your help is very important for me!!

again THANKS.

Ciao