BITSAVE

Synopsis
BITSAVE filename
(BITSAVE filename maxcolordepth)
Description

Saves a picture (bitmap image) of your work on the computer's disk. It also allows you to add more work to an existing piece of work. The dimensions of the picture are determined by ACTIVEAREA.

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, 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.

Example
REPEAT 72 [CIRCLE2 100 RIGHT 5]
BITSAVE "myfile.bmp
CLEARSCREEN
BITLOAD "myfile.bmp

SourceForge.net Logo