I was just trying to split an image strip into multible images, all 256x256, so they would cooperate with my level editor but I'm baffled as to why get image just returns a blank blue image.
Here's they code I'm using, I feel like it must be something really obvious, but I can't put my finger on it.
sync on
sync rate 0
texturesize = 256
imagewidth = 22528
imageheight = 256
sync
set display mode texturesize, texturesize, 32
set window layout 0, 0, 0
set window position 0, 0
text 0, 0, "LOADING..."
sync
load image "Media/woodtex.png", 1
sprite 1, 0, 0, 1
sync
i = 1
for x = 0 to imagewidth step texturesize
i = i+1
cls
sprite 1, -x, 0, 1
paste sprite 1, -x, 0
sync
get image i, 0, 0, texturesize, texturesize, 1
paste image i, 0, 0
save image str$(i-1)+".bmp", i
next x
(sorry for the weird spacing)
swis