OOF2: The Manual
Name
OOF.File.Save.Image — Save an Image in a file.
Synopsis
OOF.File.Save.Image(filename
,overwrite
,image
)
Details
- Parent Menu: OOF.File.Save
-
Callback: function
saveImage
in moduleooflib.image.IO.imagemenu
-
Options:
disabled
=1
-
Parameters:
filename
- Name of the file. Type: A character string.
overwrite
- Whether or not to overwrite an existing file. Type: Boolean, 0 (false) or 1 (true).
image
- Type: The path to an existing
Image
object.
Description
Save the given Image
to a file. The file type is determined by
the suffix of the given filename
(e.g, .gif
,
.ppm
, etc.).
Any file type supported by the ImageMagick library is acceptable.