Bitmap Constructor (Size, ColorMode, UInt32[], IBuffer[])

Creates a bitmap referencing the data in the provided IBuffers. Suitable for planar and semi-planar color modes.

Namespace: Lumia.Imaging
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Lumia.Imaging.Bitmap = function(size, colorMode, scanlineByteSizes, colorPlanes);

Parameters

size
Type: Windows.Foundation.Size
The size in pixels of the bitmap to be created.
colorMode
Type: Lumia.Imaging.ColorMode
The color mode of the bitmap to be created.
scanlineByteSizes
Type: System.UInt32[]
The size in bytes of the scanline of each of the color planes of the bitmap to be created.
colorPlanes
Type: Windows.Storage.Streams.IBuffer[]
The color planes that the bitmap will reference, provided in IBuffers.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: