CapturedFrame.BitmapProperties CapturedFrame.BitmapProperties CapturedFrame.BitmapProperties CapturedFrame.BitmapProperties CapturedFrame.BitmapProperties Property

Definition

Gets an object containing bitmap properties for the CapturedFrame. These properties convey image metadata such as EXIF data.

public : BitmapPropertySet BitmapProperties { get; }
BitmapPropertySet BitmapProperties();
public BitmapPropertySet BitmapProperties { get; }
Public ReadOnly Property BitmapProperties As BitmapPropertySet
var bitmapPropertySet = capturedFrame.bitmapProperties;

Property Value

An object containing bitmap properties for the CapturedFrame.

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

Remarks

This property is useful for apps that want to capture frames in an uncompressed format. When capturing to a compressed format, the bitmap properties such as EXIF data are automatically encoded into the image file. When capturing to a raw format, you can get the bitmap properties using this API and then, for example, set the BitmapProperties property of a BitmapEncoder to include the associated metadata in the encoded file.

For more information on encoding bitmaps, see Create, edit, and save bitmap images.

See also