SaveImage


Saves an image to a file.

Syntax

C++
Python
 
def SaveImage(
	inImage: Image,
	inFile: str,
	/,
	*,
	inImageFileFormat: ImageFileFormat | None = None,
	inIgnoreErrors: bool = False
)
-> None

Parameters

Name Type Default Description
Input value inImage Image An image to be saved
Input value inImageFileFormat ImageFileFormat | None None If Nil the format will be chosen on the basis of extension
Input value inFile str Path to a file
Input value inIgnoreErrors bool False Switches to re-trying and canceling in case of errors (e.g. when the disk is full)