Win32 API 日本語リファレンス
ホームGraphics.Imaging › WICHeifProperties

WICHeifProperties

列挙型
基底型i4

メンバー 3

名前10進16進説明
WICHeifOrientation10x1

[VT_UI2] 画像の向きを示します。

このプロパティの値は、System.Photo.Orientation プロパティと同じ番号体系を使用します。たとえば、値 1 (PHOTO_ORIENTATION_NORMAL) は 0 度の回転を示します。

WICHeifLayeredImageCanvasColor20x2

WICColor (VT_UI4)。

レイヤー画像の背景色を指定します。このプロパティが存在し、VT_EMPTY でない場合、その画像はレイヤー画像です。

WICHeifLayeredImageLayerPositions30x3

キャンバス内の各レイヤー画像の座標を指定する、POINT 構造体 (X,Y 座標を含む) の配列です (VT_VECTOR | VT_UI8)。

座標は、キャンバス上での各レイヤー画像の配置を指定します。配列内の各要素の順序は、WICBitmapChainType_Layer 型のチェーン内の各レイヤー画像の順序に直接対応します。生成されるレイヤー画像はキャンバスと同じサイズ、つまりプライマリ画像の寸法になります。レイヤー画像はキャンバスに収まるようにトリミングされます。

公式ドキュメント

High Efficiency Image Format (HEIF) 画像のプロパティを指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum WICHeifProperties : int {
    WICHeifOrientation = 1,
    WICHeifLayeredImageCanvasColor = 2,
    WICHeifLayeredImageLayerPositions = 3
} WICHeifProperties;
public enum WICHeifProperties : int
{
    WICHeifOrientation = 1,
    WICHeifLayeredImageCanvasColor = 2,
    WICHeifLayeredImageLayerPositions = 3,
}
Public Enum WICHeifProperties As Integer
    WICHeifOrientation = 1
    WICHeifLayeredImageCanvasColor = 2
    WICHeifLayeredImageLayerPositions = 3
End Enum
import enum

class WICHeifProperties(enum.IntEnum):
    WICHeifOrientation = 1
    WICHeifLayeredImageCanvasColor = 2
    WICHeifLayeredImageLayerPositions = 3
// WICHeifProperties
pub const WICHeifOrientation: i32 = 1;
pub const WICHeifLayeredImageCanvasColor: i32 = 2;
pub const WICHeifLayeredImageLayerPositions: i32 = 3;
// WICHeifProperties
const (
	WICHeifOrientation int32 = 1
	WICHeifLayeredImageCanvasColor int32 = 2
	WICHeifLayeredImageLayerPositions int32 = 3
)
const
  WICHeifOrientation = 1;
  WICHeifLayeredImageCanvasColor = 2;
  WICHeifLayeredImageLayerPositions = 3;
// WICHeifProperties
pub const WICHeifOrientation: i32 = 1;
pub const WICHeifLayeredImageCanvasColor: i32 = 2;
pub const WICHeifLayeredImageLayerPositions: i32 = 3;
const
  WICHeifOrientation* = 1
  WICHeifLayeredImageCanvasColor* = 2
  WICHeifLayeredImageLayerPositions* = 3
enum WICHeifProperties : int {
    WICHeifOrientation = 1,
    WICHeifLayeredImageCanvasColor = 2,
    WICHeifLayeredImageLayerPositions = 3,
}
#define global WICHeifOrientation                0x1
#define global WICHeifLayeredImageCanvasColor    0x2
#define global WICHeifLayeredImageLayerPositions 0x3