Yes, when you load an image as a bitmap it changes the current working screen to that bitmap number so you can manipulate the bitmap all you want and save the changes.
` Make random number picking more random
randomize timer()
` Create the bitmap
create bitmap 1,700,500
` Make some lines
for t=1 to 1000
` Change to a random color
ink rgb(rnd(255),rnd(255),rnd(255)),0
` Make a line
line rnd(700),rnd(500),rnd(700),rnd(500)
next t
` Grab the image
get image 1,0,0,700,500,1
` Save the image to a file
save image "TestImage.png",1
Run the above code snip and you won't actually see anything but a blank screen because when the bitmap is created it automatically switches to bitmap #1. Check the directory you ran the code from and you'll see TestImage.png worked fine.