MakeImage


Converts a pixel array to a single-channel image.

Syntax

C++
Python
 
def MakeImage(
	inPixels: list[Pixel],
	inWidth: int,
	inHeight: int,
	inType: PlainType,
	inDepth: int,
	outImage: Image,
	/
)
-> None

Parameters

Name Type Range Default Description
Input value inPixels list[Pixel]
Input value inWidth int Output image width
Input value inHeight int Output image height
Input value inType PlainType Output image pixel type
Input value inDepth int 1 - 4 Output image depth
Output value outImage Image Output image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.