You are here: Start » AVL.NET » Invoke.EmptyImage

Invoke.EmptyImage

Creates an image filled with one color.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void EmptyImage
(
	int inWidth,
	int inHeight,
	Avl.Pixel inColor,
	int inChannels,
	Avl.PlainType inPixelType,
	Avl.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.
inColorAvl.PixelColor of all pixels of the created image.
inChannelsint<1, 4>3Number of channels. Default value: 3.
inPixelTypeAvl.PlainTypeUInt8Default value: UInt8.
outImageAvl.ImageOutput image.

See also