ホーム › Graphics.Imaging › WICBitmapDitherType
WICBitmapDitherType
列挙型メンバー 10
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| WICBitmapDitherTypeNone | 0 | 0x0 | ディザリングを行わない単色アルゴリズムです。 |
| WICBitmapDitherTypeSolid | 0 | 0x0 | ディザリングを行わない単色アルゴリズムです。 |
| WICBitmapDitherTypeOrdered4x4 | 1 | 0x1 | 4x4 の組織的ディザリングアルゴリズムです。 |
| WICBitmapDitherTypeOrdered8x8 | 2 | 0x2 | 8x8 の組織的ディザリングアルゴリズムです。 |
| WICBitmapDitherTypeOrdered16x16 | 3 | 0x3 | 16x16 の組織的ディザリングアルゴリズムです。 |
| WICBitmapDitherTypeSpiral4x4 | 4 | 0x4 | 4x4 のスパイラルディザリングアルゴリズムです。 |
| WICBitmapDitherTypeSpiral8x8 | 5 | 0x5 | 8x8 のスパイラルディザリングアルゴリズムです。 |
| WICBitmapDitherTypeDualSpiral4x4 | 6 | 0x6 | 4x4 のデュアルスパイラルディザリングアルゴリズムです。 |
| WICBitmapDitherTypeDualSpiral8x8 | 7 | 0x7 | 8x8 のデュアルスパイラルディザリングアルゴリズムです。 |
| WICBitmapDitherTypeErrorDiffusion | 8 | 0x8 | 誤差拡散アルゴリズムです。 |
公式ドキュメント
画像フォーマット間の変換時に適用するディザリングアルゴリズムの種類を指定します。
出典・ライセンス: 上記「公式ドキュメント」の内容は 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 WICBitmapDitherType : int {
WICBitmapDitherTypeNone = 0,
WICBitmapDitherTypeSolid = 0,
WICBitmapDitherTypeOrdered4x4 = 1,
WICBitmapDitherTypeOrdered8x8 = 2,
WICBitmapDitherTypeOrdered16x16 = 3,
WICBitmapDitherTypeSpiral4x4 = 4,
WICBitmapDitherTypeSpiral8x8 = 5,
WICBitmapDitherTypeDualSpiral4x4 = 6,
WICBitmapDitherTypeDualSpiral8x8 = 7,
WICBitmapDitherTypeErrorDiffusion = 8
} WICBitmapDitherType;public enum WICBitmapDitherType : int
{
WICBitmapDitherTypeNone = 0,
WICBitmapDitherTypeSolid = 0,
WICBitmapDitherTypeOrdered4x4 = 1,
WICBitmapDitherTypeOrdered8x8 = 2,
WICBitmapDitherTypeOrdered16x16 = 3,
WICBitmapDitherTypeSpiral4x4 = 4,
WICBitmapDitherTypeSpiral8x8 = 5,
WICBitmapDitherTypeDualSpiral4x4 = 6,
WICBitmapDitherTypeDualSpiral8x8 = 7,
WICBitmapDitherTypeErrorDiffusion = 8,
}Public Enum WICBitmapDitherType As Integer
WICBitmapDitherTypeNone = 0
WICBitmapDitherTypeSolid = 0
WICBitmapDitherTypeOrdered4x4 = 1
WICBitmapDitherTypeOrdered8x8 = 2
WICBitmapDitherTypeOrdered16x16 = 3
WICBitmapDitherTypeSpiral4x4 = 4
WICBitmapDitherTypeSpiral8x8 = 5
WICBitmapDitherTypeDualSpiral4x4 = 6
WICBitmapDitherTypeDualSpiral8x8 = 7
WICBitmapDitherTypeErrorDiffusion = 8
End Enumimport enum
class WICBitmapDitherType(enum.IntEnum):
WICBitmapDitherTypeNone = 0
WICBitmapDitherTypeSolid = 0
WICBitmapDitherTypeOrdered4x4 = 1
WICBitmapDitherTypeOrdered8x8 = 2
WICBitmapDitherTypeOrdered16x16 = 3
WICBitmapDitherTypeSpiral4x4 = 4
WICBitmapDitherTypeSpiral8x8 = 5
WICBitmapDitherTypeDualSpiral4x4 = 6
WICBitmapDitherTypeDualSpiral8x8 = 7
WICBitmapDitherTypeErrorDiffusion = 8// WICBitmapDitherType
pub const WICBitmapDitherTypeNone: i32 = 0;
pub const WICBitmapDitherTypeSolid: i32 = 0;
pub const WICBitmapDitherTypeOrdered4x4: i32 = 1;
pub const WICBitmapDitherTypeOrdered8x8: i32 = 2;
pub const WICBitmapDitherTypeOrdered16x16: i32 = 3;
pub const WICBitmapDitherTypeSpiral4x4: i32 = 4;
pub const WICBitmapDitherTypeSpiral8x8: i32 = 5;
pub const WICBitmapDitherTypeDualSpiral4x4: i32 = 6;
pub const WICBitmapDitherTypeDualSpiral8x8: i32 = 7;
pub const WICBitmapDitherTypeErrorDiffusion: i32 = 8;// WICBitmapDitherType
const (
WICBitmapDitherTypeNone int32 = 0
WICBitmapDitherTypeSolid int32 = 0
WICBitmapDitherTypeOrdered4x4 int32 = 1
WICBitmapDitherTypeOrdered8x8 int32 = 2
WICBitmapDitherTypeOrdered16x16 int32 = 3
WICBitmapDitherTypeSpiral4x4 int32 = 4
WICBitmapDitherTypeSpiral8x8 int32 = 5
WICBitmapDitherTypeDualSpiral4x4 int32 = 6
WICBitmapDitherTypeDualSpiral8x8 int32 = 7
WICBitmapDitherTypeErrorDiffusion int32 = 8
)const
WICBitmapDitherTypeNone = 0;
WICBitmapDitherTypeSolid = 0;
WICBitmapDitherTypeOrdered4x4 = 1;
WICBitmapDitherTypeOrdered8x8 = 2;
WICBitmapDitherTypeOrdered16x16 = 3;
WICBitmapDitherTypeSpiral4x4 = 4;
WICBitmapDitherTypeSpiral8x8 = 5;
WICBitmapDitherTypeDualSpiral4x4 = 6;
WICBitmapDitherTypeDualSpiral8x8 = 7;
WICBitmapDitherTypeErrorDiffusion = 8;// WICBitmapDitherType
pub const WICBitmapDitherTypeNone: i32 = 0;
pub const WICBitmapDitherTypeSolid: i32 = 0;
pub const WICBitmapDitherTypeOrdered4x4: i32 = 1;
pub const WICBitmapDitherTypeOrdered8x8: i32 = 2;
pub const WICBitmapDitherTypeOrdered16x16: i32 = 3;
pub const WICBitmapDitherTypeSpiral4x4: i32 = 4;
pub const WICBitmapDitherTypeSpiral8x8: i32 = 5;
pub const WICBitmapDitherTypeDualSpiral4x4: i32 = 6;
pub const WICBitmapDitherTypeDualSpiral8x8: i32 = 7;
pub const WICBitmapDitherTypeErrorDiffusion: i32 = 8;const
WICBitmapDitherTypeNone* = 0
WICBitmapDitherTypeSolid* = 0
WICBitmapDitherTypeOrdered4x4* = 1
WICBitmapDitherTypeOrdered8x8* = 2
WICBitmapDitherTypeOrdered16x16* = 3
WICBitmapDitherTypeSpiral4x4* = 4
WICBitmapDitherTypeSpiral8x8* = 5
WICBitmapDitherTypeDualSpiral4x4* = 6
WICBitmapDitherTypeDualSpiral8x8* = 7
WICBitmapDitherTypeErrorDiffusion* = 8enum WICBitmapDitherType : int {
WICBitmapDitherTypeNone = 0,
WICBitmapDitherTypeSolid = 0,
WICBitmapDitherTypeOrdered4x4 = 1,
WICBitmapDitherTypeOrdered8x8 = 2,
WICBitmapDitherTypeOrdered16x16 = 3,
WICBitmapDitherTypeSpiral4x4 = 4,
WICBitmapDitherTypeSpiral8x8 = 5,
WICBitmapDitherTypeDualSpiral4x4 = 6,
WICBitmapDitherTypeDualSpiral8x8 = 7,
WICBitmapDitherTypeErrorDiffusion = 8,
}#define global WICBitmapDitherTypeNone 0x0
#define global WICBitmapDitherTypeSolid 0x0
#define global WICBitmapDitherTypeOrdered4x4 0x1
#define global WICBitmapDitherTypeOrdered8x8 0x2
#define global WICBitmapDitherTypeOrdered16x16 0x3
#define global WICBitmapDitherTypeSpiral4x4 0x4
#define global WICBitmapDitherTypeSpiral8x8 0x5
#define global WICBitmapDitherTypeDualSpiral4x4 0x6
#define global WICBitmapDitherTypeDualSpiral8x8 0x7
#define global WICBitmapDitherTypeErrorDiffusion 0x8