BitmapFrame クラス

定義

1 つのフレーム内のデータへの読み取りアクセスを提供します。

public ref class BitmapFrame sealed : IBitmapFrameWithSoftwareBitmap
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BitmapFrame final : IBitmapFrameWithSoftwareBitmap
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BitmapFrame : IBitmapFrameWithSoftwareBitmap
Public NotInheritable Class BitmapFrame
Implements IBitmapFrameWithSoftwareBitmap
継承
Object Platform::Object IInspectable BitmapFrame
属性
実装

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

プロパティ

BitmapAlphaMode

フレームの既定のアルファ モード。

BitmapPixelFormat

フレームに最適なピクセル形式。

BitmapProperties

フレーム内のメタデータの読み取り専用ビュー。

DpiX

フレームの水平方向の解像度 (1 インチあたりのドット数)。

DpiY

フレームの垂直方向の解像度 (1 インチあたりのドット数)。

OrientedPixelHeight

EXIF 方向がビットマップに適用された後のフレームの高さ (ピクセル単位)。

OrientedPixelWidth

EXIF の向きがビットマップに適用された後のフレームの幅 (ピクセル単位)。

PixelHeight

フレームの高さ (ピクセル単位)。

PixelWidth

フレームの幅 (ピクセル単位)。

メソッド

GetPixelDataAsync()

フレームのピクセル データを非同期に要求します。 結果のピクセル データ配列では、 BitmapPixelFormat プロパティと BitmapAlphaMode プロパティで指定されたビットマップ ピクセル形式とアルファ モードが使用されます。 また、色管理と EXIF の向きも適用されます (詳細については、「解説」セクションを参照してください)。

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

指定したパラメーターを使用して、フレームのピクセル データを非同期に要求します。

GetSoftwareBitmapAsync()

ビットマップ フレームの SoftwareBitmap 表現を非同期的に取得します。

GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode)

ビットマップ フレームの SoftwareBitmap 表現を非同期的に取得します。

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

ビットマップ フレームの SoftwareBitmap 表現を非同期的に取得します。

GetThumbnailAsync()

サムネイル画像を含むストリームを非同期的に返します。

適用対象