SAVE IMAGE This command will save an image to a file.
Syntax
    SAVE IMAGE Filename, Image Number
    SAVE IMAGE Filename, Image Number, Compression Mode
Parameters
    Filename
String Filename string
    Image Number
Integer You must specify an existing image number between 1 and 65535
    Compression Mode
Integer A zero will save the image as a D3DFMT_A8R8G8B8. Where as a value from one to five will specify a format of D3DFMT_DXT? where ? is the value you passed in
Returns
This command does not return a value.
Description
You must specify an existing image number between 1 and 65535. The file must not already exist, otherwise the command will fail. The image file format is determined by the extension given, and can be one of "BMP", "DDS", "JPG" and "DIB".
Example Code
    get image 1,0,0,100,100,0

    cls

    load image "anypicture.bmp",1,0

    save image "newanypicture.bmp",1

    save image "newanypicture.dds",1

    save image "newanypicture.jpg",1

    cls

    paste image 1,100,100,1

    do

    loop

    end
See also
IMAGE Commands Menu Index