No, left, top, right, and bottom are in pixels.
The width is equal to right-left, and the height is equal to bottom-top.
For example, you might put get image 1,0,0,100,100, which means a 100x100 sprite that is in the top left corner of the sprite sheet.
The program doesn't automagically recognize sprite dimensions unless you specify them using math.
For example:
ink rgb(255,0,0),0
box 0,0,32,32
ink rgb(255,255,255),0
text 0,0,"A"
ink rgb(0,255,0),0
box 32,0,64,32
ink rgb(255,255,255),0
text 32,0,"B"
ink rgb(0,0,255),0
box 64,0,100,32
ink rgb(255,255,255),0
text 64,0,"C"
ink rgb(255,255,255),0
text 0,32,"Press any key..."
suspend for key
sync on
spritesize=32
rem get the first 3 sprites on the top row
for x=0 to 2
getsprite(x+2,spritesize,spritesize,x,0)
next x
cls
im=2
do
paste image im,0,0
inc im
if im>4 then im=2
sleep 200
sync
loop
end
function getsprite(i,w,h,x,y)
get image i,w*x,h*y,w*(x+1),h*(y+1)
endfunction