Resizing and Freeing Images

BlitzMax Forums/BlitzMax Beginners Area/Resizing and Freeing Images

Using the pixmap method I did this to get an image to pump. Image size is 64x64
Graphics 640,480
Repeat
	If MouseX()>0 And MouseX()<60 And MouseY()<60 blink()
	image = LoadImage("media/tiles/first.png",dynamicimage)
	DrawImage image,0,0
	Flip
	Cls
	FlushMem
Until KeyHit(1)

Function blink()
	For count=1 To 4
	image = LoadImage("media/tiles/first.png",dynamicimage)
	DrawImage image,0,0
	Flip
	Delay 100
	my_pixmap = LockImage(image)
	my_new_pixmap = ResizePixmap (my_pixmap,66,66)
	UnlockImage(image)
	image=LoadImage(my_new_pixmap)
	Cls
	DrawImage image,0,0
	Flip
	Delay 100
	Next
End Function

Will this cause any problems? Is there another way to pump an image?
So if CreateImage is the method used on the backbuffer where is the pixmap operation happening?
I'm learning folks - please excuse my ignorance.