Canvas or Image Shift

BlitzMax Forums/BlitzMax Programming/Canvas or Image Shift

Do you mean drawing them with alpha (as the alpha channel *is* loaded)?

Load the pixmap into an image and draw the image...
Strict

Graphics 640, 480, 32

Local pmap:TPixmap = LoadPixmap(getenv_("BMXPATH") + "\samples\digesteroids\graphics\digestive.png") 
Local img:TImage = LoadImage(pmap)

SetBlend ALPHABLEND

DrawPixmap pmap, 100, 100
DrawImage img, 100, 300
Flip

WaitKey()

End