I need to split an image

Miscellaneous Forums/Content Creation Tools/I need to split an image

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.

at a guess:

Graphics 800,600,0,2
SetBuffer BackBuffer()

Global imgOutName = "outBmp"

img = LoadImage("source.bmp")
tile = CreateImage(75,75)

DrawImage img,0,0

For y = 0 To 7
	For x = 0 To 7

		GrabImage tile,x*75, y*75
		SaveImage(tile,"c:"+imgOutName+Str(x)+Str(y)+".bmp")
	
	Next
Next


WaitKey()

End