this code doesn't draw anithing:
bmp:=createImageFunction(); // 640x480
bmp.AlphaFill(0);
bmp2 := bmp.Resample(240,180,rmSimpleStretch);
bmp.AlphaFill(255);
image.PutImage(0,0,bmp2,dmSet);
while this code draws:
bmp:=createImageFunction(); // 640x480
// bmp.AlphaFill(0);
bmp2 := bmp.Resample(240,180,rmSimpleStretch);
// bmp.AlphaFill(255);
image.PutImage(0,0,bmp2,dmSet);