You are here: Start » AVL.NET » AVL.MakeImage Method
AVL.MakeImage Method
Converts a pixel array to a single-channel image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void MakeImage( AvlNet.Pixel[] inPixels, int inWidth, int inHeight, AvlNet.PlainType inType, int inDepth, out AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPixels | AvlNet.Pixel | ||||
inWidth | int | Output image width. | |||
inHeight | int | Output image height. | |||
inType | AvlNet.PlainType | UInt8 | Output image pixel type. Default value: UInt8. | ||
inDepth | int | <1, 4> | Output image depth. | ||
outImage | AvlNet.Image | Output image. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
Error type | Description |
---|---|
DomainError | Incorrect array size in MakeImage. |
DomainError | Not supported image type in MakeImage. |