BITSAVEfilename
(BITSAVEfilename
maxcolordepth
)
Saves a picture of a portion of the drawing surface to a file as a bitmap. ACTIVEAREA determines which portion of the drawing surface is saved. BITSAVE overwrites any file that may exist, so you can update an existing picture as you add to your drawing.
Remember that if your image was generated with a Logo program you really don't need to save it as an image unless you want to use the image in another application such as Microsoft Paint or as a wallpaper.
The filename
input must be a word that is the name of the bitmap file to save.
The maxcolordepth
input is total number of colors in the bitmap in bits per pixel.
That is, 1 = 2 colors, 4 = 16 colors, 8 = 256 colors, and 24 = 16.7 million colors.
The default value is 24.
The format of the saved image is known as a Microsoft Windows Bitmap (BMP). You can use these files with other applications such as Microsoft Paint. Note that these files can be big and may take a long time to read or write on slow machines.
REPEAT 72 [CIRCLE2 100 RIGHT 5]
BITSAVE "myfile.bmp
CLEARSCREEN
BITLOAD "myfile.bmp