CImage:Save
The Save method saves the CImage back. Alternative saving commands are SaveAs, which opens a Save dialog where you specify the name and file type, and SaveTo, which takes a string containing the path name.
bResult = CImage:Save() |
On success, this method returns bResult = 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 exists. The following script saves it back to its original path:
|
-- save the image |
|
-- if not saved, then... |
|
-- error message |
|
|
CImage class, SaveAs, SaveTo, Open, Close
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.