ArcBasicDocs

SaveImage

Saves an image to a file.

SaveImage ( image,filename$[,frame] )

Parameters

image
the image's handle.
filename$
the file to save to.
frame (optional)
which frame, counting from 0.

Description

Saves one frame of an image as a picture file, and gives back 1 if it worked. The type of file comes from the name's ending: .png, .jpg, .bmp or .webp. In a finished game the file goes in the player's data folder.

See also