LoadImage


Loads a single image from a file.

Syntax

C++
Python
 
def LoadImage(
	inFile: str,
	outImage: Image,
	/,
	*,
	inLoadAlphaChannel: bool = False
)
-> None

Parameters

Name Type Default Description
Input value inFile str Path to a file
Input value inLoadAlphaChannel bool False Whether to load the alpha channel (if exists) as an additional image channel
Output value outImage Image Output image