surface_save(id,fname)

id = name of the variable which holds the ID of the surface (see surface_create).

fname = Name of the file you wish to save too.

 

Example

surface_save(surface,C:\My Pictures\surface_file.bmp);

 

This function saves the surface with the given ID to the file fname. The image saved is saved in the BMP format.

 

esh_corp11 - Revision #1