As test I have the following code:
cardwidth = 71
cardheight = 96
cardnumber = 0
maxsuits = 4
maxranks = 13
LOAD image "deck.bmp",1
FOR i=1 TO maxsuits
FOR j=1 TO maxranks
INC cardnumber
right = (i*cardwidth)-1
bottom = (j*cardheight)-1
top = ((j-1)*cardheight)
left = ((i-1)*cardwidth)
GET IMAGE cardnumber, left, top, right, bottom
NEXT j
NEXT i
When J gets to 6, DB gives me a 'cannot grab image due to an ivalid area' error
The image is a deck of cards -- 4 cards across and 13 down.
Is this another bug or am I doing something wrong?