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 | |
|---|---|---|---|---|---|
![]() |
inPixels | list[Pixel] | |||
![]() |
inWidth | int | Output image width | ||
![]() |
inHeight | int | Output image height | ||
![]() |
inType | PlainType | Output image pixel type | ||
![]() |
inDepth | int | 1 - 4 | Output image depth | |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


