英語で読む

次の方法で共有


BitmapFrame クラス

定義

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

[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BitmapFrame : IBitmapFrameWithSoftwareBitmap
継承
Object 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, BitmapTransform, ExifOrientationMode, ColorManagementMode)

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

GetSoftwareBitmapAsync(BitmapPixelFormat, BitmapAlphaMode)

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

GetThumbnailAsync()

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

適用対象

製品 バージョン
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100