Skip to main content
BitmapFrame class

Applies to Windows and Windows Phone

Provides read access to data within a single frame.

Syntax


var bitmapFrame = Windows.Graphics.Imaging.GetFrameOperation.getResults();

public sealed class BitmapFrame : IBitmapFrame

Public NotInheritable Class BitmapFrame
    Implements IBitmapFrame

public ref class BitmapFrame sealed : IBitmapFrame

Attributes

[ MarshalingBehavior(Agile)]
[ Version(0x06020000)]

Members

The BitmapFrame class has these types of members:

Methods

The BitmapFrame class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetPixelDataAsync() Asynchronously requests the pixel data for the frame.
GetPixelDataAsync(BitmapPixelFormat, BitmapAlphaMode, BitmapTransform, ExifOrientationMode, ColorManagementMode) Asynchronously requests the pixel data for the frame using the specified parameters.
GetThumbnailAsync Asynchronously returns a stream containing the thumbnail image.

 

Properties

The BitmapFrame class has these properties.

PropertyAccess typeDescription

BitmapAlphaMode

Read-onlyThe default alpha mode of the frame.

BitmapPixelFormat

Read-onlyThe pixel format that best fits the frame.

BitmapProperties

Read-onlyA read-only view of the metadata within the frame.

DpiX

Read-onlyThe horizontal resolution of the frame in dots per inch.

DpiY

Read-onlyThe vertical resolution of the frame in dots per inch.

OrientedPixelHeight

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

OrientedPixelWidth

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

PixelHeight

Read-onlyThe height of the frame in pixels.

PixelWidth

Read-onlyThe width of the frame in pixels.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd