Share via


Bitmap Members

Include Protected Members
Include Inherited Members

The Bitmap type exposes the following members.

Constructors

  Name Description
Public method Bitmap(Size, ColorMode)
Creates an empty Bitmap where data can be rendered to.
Public method Bitmap(Bitmap, Rect)
Creates a Bitmap that points to the same image data as another Bitmap, cropped to a smaller rectangle.
Public method Bitmap(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.
Public method Bitmap(Size, ColorMode, array<UInt32[], array<IBuffer[])
Creates a bitmap referencing the data in the provided IBuffers. Suitable for planar and semi-planar color modes.

Methods

  Name Description
Public method Close
Public method ConvertFrom
Color conversion of the image data from the passed bitmap.
Public method CopyDataFrom
Copies the image data from the passed bitmap.

Properties

  Name Description
Public property Buffers
The buffers underlying this Bitmap.
Public property ColorMode
The color mode of the bitmap.
Public property Dimensions
The dimensions of the bitmap.

See Also

Bitmap Class

Lumia.Imaging Namespace