Bitmap Constructor (Size, ColorMode, UInt32, IBuffer)

Creates a Bitmap referencing the data in the provided IBuffer. Use only with interleaved, non-planar color modes. Single plane color modes are Ayuv4444, Rgb565, Rgb565D, Argb8888, Bgra8888, Pbgra8888, Gray8, Yuv422_Y1UY2V.

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

Lumia.Imaging.Bitmap = function(size, colorMode, scanlineByteSize, pixels);

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.
scanlineByteSize
Type: System.UInt32
The size in bytes of the scanline of the bitmap to be created.
pixels
Type: Windows.Storage.Streams.IBuffer
The pixel data that the bitmap will reference, provided in an IBuffer.

Lumia Imaging SDK

Supported in: 3.0, 2.0
Show: