You are here: Start » AVL.NET » AVL.MakeImage
Converts a pixel array to a single-channel image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void MakeImage ( IList<AvlNet.Pixel> inPixels, int inWidth, int inHeight, AvlNet.PlainType inType, int inDepth, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPixels | System.Collections.Generic.IList<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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect array size in MakeImage. |
DomainError | Not supported image type in MakeImage. |