IBitmapFrame IBitmapFrame IBitmapFrame IBitmapFrame IBitmapFrame Interface

Definition

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

public : interface IBitmapFrame
struct winrt::Windows::Graphics::Imaging::IBitmapFrame
public interface IBitmapFrame
Public Interface IBitmapFrame
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

BitmapAlphaMode BitmapAlphaMode BitmapAlphaMode BitmapAlphaMode BitmapAlphaMode

Returns the default alpha mode of the frame.

BitmapPixelFormat BitmapPixelFormat BitmapPixelFormat BitmapPixelFormat BitmapPixelFormat

Returns the default pixel format of the frame.

BitmapProperties BitmapProperties BitmapProperties BitmapProperties BitmapProperties

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

DpiX DpiX DpiX DpiX DpiX

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

DpiY DpiY DpiY DpiY DpiY

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

OrientedPixelHeight OrientedPixelHeight OrientedPixelHeight OrientedPixelHeight OrientedPixelHeight

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

OrientedPixelWidth OrientedPixelWidth OrientedPixelWidth OrientedPixelWidth OrientedPixelWidth

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

PixelHeight PixelHeight PixelHeight PixelHeight PixelHeight

Returns the height of the frame in pixels.

PixelWidth PixelWidth PixelWidth PixelWidth PixelWidth

Returns the width of the frame in pixels.

Methods

GetPixelDataAsync() GetPixelDataAsync() GetPixelDataAsync() GetPixelDataAsync() 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) GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode) GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode) GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode) GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode)

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

GetThumbnailAsync() GetThumbnailAsync() GetThumbnailAsync() GetThumbnailAsync() GetThumbnailAsync()

Asynchronously retrieves the thumbnail data for the frame.