次の方法で共有


ImageFormat クラス

定義

イメージ形式のプロパティ (FOURCC、幅、高さ、ストライドなど) のコレクションを表します。

public class ImageFormat : IDisposable
type ImageFormat = class
    interface IDisposable
Public Class ImageFormat
Implements IDisposable
継承
ImageFormat
実装

プロパティ

BitsPerPixel

イメージのピクセルあたりのビット数を取得する

FourCC

イメージの FourCC 表現を取得する

Height

画像の高さをピクセル単位で取得する

SensorType

イメージのキャプチャに使用されるセンサーの種類を取得します。

Stride

画像のストライドをピクセル単位で取得する

Width

画像の幅をピクセル単位で取得します

メソッド

CreateFourCCFormat(Char, Char, Char, Char, Int32, Int32, Int32)

FourCC 値から ImageFormat を作成する

CreateRgbFormat(Int32, Int32, Int32, Int32)

RGB 値から ImageFormat を作成する

Dispose()

イメージ形式のプロパティ (FOURCC、幅、高さ、ストライドなど) のコレクションを表します。

拡張メソッド

SetProperty(ImageFormat, String, String)

詳細プロパティの値を名前で設定します。

TryGetProperty(ImageFormat, String, String)

名前で詳細プロパティの値を取得します。

適用対象