You are here: Start » AVL.NET » AVS.EmptyImage Method

AVS.EmptyImage Method

Creates an image filled with one color.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inWidthint<1, 65535>320Width of the created image. Default value: 320.
inHeightint<1, 65535>240Height of the created image. Default value: 240.
inColorAvlNet.PixelColor of all pixels of the created image.
inChannelsint<1, 4>3Number of channels. Default value: 3.
inPixelTypeAvlNet.PlainTypeUInt8Default value: UInt8.
outImageAvlNet.ImageOutput image.

See also