Hi everyone
I'd like to do some image processing of a 301K
image (an array of 640 * 480 pixels with 256
graylevels) How can I do it? Right now I have:
SCREEN 13
DIM a%(23000)
a$ = "image.bmp"
OPEN a$ FOR BINARY AS #1
FOR j% = 1 TO 21000 STEP 2
GET #1, j%, a%(j%)
NEXT
CLOSE
It seems I am limited to about 20000-30000
probably because DIM is not large enough
How can I read the whole image?
I'd like to do some image processing of a 301K
image (an array of 640 * 480 pixels with 256
graylevels) How can I do it? Right now I have:
SCREEN 13
DIM a%(23000)
a$ = "image.bmp"
OPEN a$ FOR BINARY AS #1
FOR j% = 1 TO 21000 STEP 2
GET #1, j%, a%(j%)
NEXT
CLOSE
It seems I am limited to about 20000-30000
probably because DIM is not large enough
How can I read the whole image?