Np. To stretch an image you can use Bitmap 0 (which is the main screen) to place whatever you want to resize, the CREATE BITMAP command to make a bitmap the resolution you want Bitmap 0 to be, and COPY BITMAP to stretch Bitmap 0 into the new size.
randomize timer()
` Set a small resolution
set display mode 640,480,32
` Create something to resize
for t=1 to 1000
` Randomly pick a color
ink rgb(rnd(255),rnd(255),rnd(255)),0
` Make a random sized box
box rnd(640),rnd(480),rnd(640),rnd(480)
next t
` Grab the image (for later comparison)
get image 1,0,0,640,480,1
` Create a bigger bitmap
create bitmap 1,1024,768
` Copy bitmap 0 (the main screen) into the new bitmap
copy bitmap 0,0,0,640,480,1,0,0,1024,768
` Grab the resized image
get image 2,0,0,1024,768,1
` Go back to the main screen
set current bitmap 0
` Delete the new bitmap
delete bitmap 1
` Save the images
save image "ResizeTest1.png",1
save image "ResizeTest2.png",2
wait key
The above code snip will create a background at 640x480 and stretch that background to 1024x768 and save both images. Once you run it check the directory you ran it from for the files ResizeTest1.png (which should be 640x480) and ResizeTest2.png (which should be 1024x768). You can use this method to make any image size you need.