ホーム › Graphics.Imaging › WICJpegYCrCbSubsamplingOption
WICJpegYCrCbSubsamplingOption
列挙型メンバー 5
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| WICJpegYCrCbSubsamplingDefault | 0 | 0x0 | 既定のサブサンプリング オプションです。 |
| WICJpegYCrCbSubsampling420 | 1 | 0x1 | 水平方向と垂直方向の両方の間引き (デシメーション) を使用するサブサンプリング オプションです。 |
| WICJpegYCrCbSubsampling422 | 2 | 0x2 | 水平方向の間引きを使用するサブサンプリング オプションです。 |
| WICJpegYCrCbSubsampling444 | 3 | 0x3 | 間引きを使用しないサブサンプリング オプションです。 |
| WICJpegYCrCbSubsampling440 | 4 | 0x4 | 垂直方向の 2 倍のダウンサンプリングのみを使用するサブサンプリング オプションです。このオプションは Windows 8.1 以降でのみ使用できます。 |
公式ドキュメント
JPEG の YCrCB サブサンプリング オプションを指定します。
解説(Remarks)
ネイティブの JPEG エンコーダーは WICJpegYCrCbSubsampling420 を使用します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum WICJpegYCrCbSubsamplingOption : int {
WICJpegYCrCbSubsamplingDefault = 0,
WICJpegYCrCbSubsampling420 = 1,
WICJpegYCrCbSubsampling422 = 2,
WICJpegYCrCbSubsampling444 = 3,
WICJpegYCrCbSubsampling440 = 4
} WICJpegYCrCbSubsamplingOption;public enum WICJpegYCrCbSubsamplingOption : int
{
WICJpegYCrCbSubsamplingDefault = 0,
WICJpegYCrCbSubsampling420 = 1,
WICJpegYCrCbSubsampling422 = 2,
WICJpegYCrCbSubsampling444 = 3,
WICJpegYCrCbSubsampling440 = 4,
}Public Enum WICJpegYCrCbSubsamplingOption As Integer
WICJpegYCrCbSubsamplingDefault = 0
WICJpegYCrCbSubsampling420 = 1
WICJpegYCrCbSubsampling422 = 2
WICJpegYCrCbSubsampling444 = 3
WICJpegYCrCbSubsampling440 = 4
End Enumimport enum
class WICJpegYCrCbSubsamplingOption(enum.IntEnum):
WICJpegYCrCbSubsamplingDefault = 0
WICJpegYCrCbSubsampling420 = 1
WICJpegYCrCbSubsampling422 = 2
WICJpegYCrCbSubsampling444 = 3
WICJpegYCrCbSubsampling440 = 4// WICJpegYCrCbSubsamplingOption
pub const WICJpegYCrCbSubsamplingDefault: i32 = 0;
pub const WICJpegYCrCbSubsampling420: i32 = 1;
pub const WICJpegYCrCbSubsampling422: i32 = 2;
pub const WICJpegYCrCbSubsampling444: i32 = 3;
pub const WICJpegYCrCbSubsampling440: i32 = 4;// WICJpegYCrCbSubsamplingOption
const (
WICJpegYCrCbSubsamplingDefault int32 = 0
WICJpegYCrCbSubsampling420 int32 = 1
WICJpegYCrCbSubsampling422 int32 = 2
WICJpegYCrCbSubsampling444 int32 = 3
WICJpegYCrCbSubsampling440 int32 = 4
)const
WICJpegYCrCbSubsamplingDefault = 0;
WICJpegYCrCbSubsampling420 = 1;
WICJpegYCrCbSubsampling422 = 2;
WICJpegYCrCbSubsampling444 = 3;
WICJpegYCrCbSubsampling440 = 4;// WICJpegYCrCbSubsamplingOption
pub const WICJpegYCrCbSubsamplingDefault: i32 = 0;
pub const WICJpegYCrCbSubsampling420: i32 = 1;
pub const WICJpegYCrCbSubsampling422: i32 = 2;
pub const WICJpegYCrCbSubsampling444: i32 = 3;
pub const WICJpegYCrCbSubsampling440: i32 = 4;const
WICJpegYCrCbSubsamplingDefault* = 0
WICJpegYCrCbSubsampling420* = 1
WICJpegYCrCbSubsampling422* = 2
WICJpegYCrCbSubsampling444* = 3
WICJpegYCrCbSubsampling440* = 4enum WICJpegYCrCbSubsamplingOption : int {
WICJpegYCrCbSubsamplingDefault = 0,
WICJpegYCrCbSubsampling420 = 1,
WICJpegYCrCbSubsampling422 = 2,
WICJpegYCrCbSubsampling444 = 3,
WICJpegYCrCbSubsampling440 = 4,
}#define global WICJpegYCrCbSubsamplingDefault 0x0
#define global WICJpegYCrCbSubsampling420 0x1
#define global WICJpegYCrCbSubsampling422 0x2
#define global WICJpegYCrCbSubsampling444 0x3
#define global WICJpegYCrCbSubsampling440 0x4