You are here: Start » FIL.NET » Function Reference » Image » Image Basics » FIL.EmptyImage
Creates an image filled with one color.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void EmptyImage ( int inWidth, int inHeight, FilNet.Pixel inColor, int inChannels, FilNet.PlainType inPixelType, FilNet.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 | FilNet.Pixel | Color of all pixels of the created image. | ||
![]() | inChannels | int | <1, 4> | 3 | Number of channels. Default value: 3. |
![]() | inPixelType | FilNet.PlainType | UInt8 | Default value: UInt8. | |
![]() | outImage | FilNet.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.