You are here: Start » AVL.NET » AVL.EmptyImage(int, int, AvlNet.Pixel, int, AvlNet.PlainType, AvlNet.Image)

AVL.EmptyImage(int, int, AvlNet.Pixel, int, AvlNet.PlainType, AvlNet.Image)

Creates a uniform image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void EmptyImage(
	int inWidth,
	int inHeight,
	AvlNet.Pixel inColor,
	int inChannels,
	AvlNet.PlainType inPixelType,
	out AvlNet.Image outImage
)

Parameters

inWidth
Type: System.Int32
Width of the created image
inHeight
Type: System.Int32
Height of the created image
inColor
Type: AvlNet.Pixel
Color of all pixels of the created image
inChannels
Type: System.Int32
Number of channels
inPixelType
Type: AvlNet.PlainType
outImage
Type: AvlNet.Image
Output image

Description

The operation produces an empty image of desired dimensions and color.

Examples

EmptyImage run with default parameters produces 320x240 black image.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

See also