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

AVL.EmptyImage

Creates an image filled with one color.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
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.

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