You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.MakeImage

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
inPixelsSystem.Collections.Generic.IList<AvlNet.Pixel>
inWidthintOutput image width.
inHeightintOutput image height.
inTypeAvlNet.PlainTypeUInt8Output image pixel type. Default value: UInt8.
inDepthint<1, 4>Output image depth.
outImageAvlNet.ImageOutput 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.

See also