SaveBitmap bitmap, filename$
This command saves a bitmap to the sdcard. The variable bitmap is an object variable that contains the bitmap. The file extension determines the type of graphics file to be written. If the file name ends in ".png" as in "mypic.png" the file will be stored in the PNG format. If the file name ends in ".jpg" or ".jpeg" then the file will be stored in the JPEG format. PNG graphics files are the preferred format because they support transparency. JPG files will also work but they do not support transparency.