Blitz 3d LoadImage Problem

Blitz3D Forums/Blitz3D Beginners Area/Blitz 3d LoadImage Problem

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.

Here is the example :

Global bufPic, izbPic, br
izbPic = CreateImage (2000, 150)
Setbuffer ImageBuffer (izbPic)
br=0
For t=1 to 10
nam$ = "Pic"+t+"_100.jpg"
bufPic = LoadImage (nam$)
ResizeImage bufPic,200,150
DrawBlockRect bufPic,br,0,0,0,200,150
br = br + 200
Next
Setbuffer backbuffer()
DrawBlock izbPic,0,0
flip
WaitKey()
FreeImage bufPic : FreeImage izbPic

I tried to comment
ResizeImage bufPic,200,150
DrawBlockRect bufPic,br,0,0,0,200,150
to see if that's the problem and the speed is the same, so it should be loading.

From blits 1 sec, from exe 8 seconds.
Som I still don't understand. If I do something wrong it should run slower always, not only like .exe!! Or.. ?