You are here: Start » AVL.NET » Function Reference » Image » Image Basics » 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 | |
---|---|---|---|---|---|
inWidth | int | <1, 65535> | 320 | Width of the created image. Default value: 320. | |
inHeight | int | <1, 65535> | 240 | Height of the created image. Default value: 240. | |
inColor | AvlNet.Pixel | Color of all pixels of the created image. | |||
inChannels | int | <1, 4> | 3 | Number of channels. Default value: 3. | |
inPixelType | AvlNet.PlainType | UInt8 | Default value: UInt8. | ||
outImage | AvlNet.Image | Output image. |
Description
The operation produces an empty image of desired dimensions and color.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.