IBitmapFrame Interface

Definition

Exposes methods for operating on a single frame of an image.

public interface class IBitmapFrame
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1923389980, 32897, 17293, 145, 188, 148, 236, 252, 129, 133, 198)]
struct IBitmapFrame
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1923389980, 32897, 17293, 145, 188, 148, 236, 252, 129, 133, 198)]
public interface IBitmapFrame
Public Interface IBitmapFrame
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

BitmapAlphaMode

Returns the default alpha mode of the frame.

BitmapPixelFormat

Returns the default pixel format of the frame.

BitmapProperties

Returns a read-only view of the metadata within the frame.

DpiX

Returns the horizontal resolution of the frame in dots per inch.

DpiY

Returns the vertical resolution of the frame in dots per inch.

OrientedPixelHeight

Returns the height of the frame in pixels, after any EXIF orientation has been applied to the bitmap.

OrientedPixelWidth

Returns the width of the frame in pixels, after any EXIF orientation has been applied to the bitmap.

PixelHeight

Returns the height of the frame in pixels.

PixelWidth

Returns the width of the frame in pixels.

Methods

GetPixelDataAsync()

Asynchronously requests the pixel data for the frame. The resulting pixel data array will use the bitmap pixel format and alpha mode specified in the BitmapPixelFormat and BitmapAlphaMode properties. It will also have color management and EXIF orientation applied (see the Remarks section for more information).

GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode)

Asynchronously requests the pixel data for the frame using the specified parameters.

GetThumbnailAsync()

Asynchronously retrieves the thumbnail data for the frame.

Applies to