You are here: Start » AVL.NET » AVL.MakeImage(AvlNet.Pixel[], int, int, AvlNet.PlainType, int, AvlNet.Image)
AVL.MakeImage(AvlNet.Pixel[], int, int, AvlNet.PlainType, int, AvlNet.Image)
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
- inPixels
- Type: AvlNet.Pixel
- inWidth
- Type: System.Int32
Output image width - inHeight
- Type: System.Int32
Output image height - inType
- Type: AvlNet.PlainType
Output image pixel type - inDepth
- Type: System.Int32
Output image depth - outImage
- Type: AvlNet.Image
Output image
Errors
| Error type | Description |
|---|---|
| DomainError | Incorrect array size in MakeImage. |
| DomainError | Not supported image type in MakeImage. |
