![]()  | 
CImage:Save
The Save method saves the CImage back to its folder.
| 
 bResult = CImage:Save()  | 
    On success,
this method returns true.
    On failure,
this method returns false.
If you are finished with the image after saving, use Close or delete to remove it from memory
Suppose a CImage I wraps an image having the full path named sPath:
| 
 bOk = I:Save( sPath )  | 
 -- save the image to sPath  | 
| 
 if ( not bOk ) then  | 
 -- if not saved, then...  | 
| 
 Printf("%s can't be saved", sPath )  | 
 -- error message  | 
| 
 end  | 
 
  | 
| 
 I:delete()  | 
 -- when done with I, remove it from memory  |