WICGifLogicalScreenDescriptorProperties, énumération (wincodec.h)

Spécifie les propriétés de descripteur d’écran logique pour les métadonnées GIF (Graphics Interchange Format).

Syntax

typedef enum WICGifLogicalScreenDescriptorProperties {
  WICGifLogicalScreenSignature = 0x1,
  WICGifLogicalScreenDescriptorWidth = 0x2,
  WICGifLogicalScreenDescriptorHeight = 0x3,
  WICGifLogicalScreenDescriptorGlobalColorTableFlag = 0x4,
  WICGifLogicalScreenDescriptorColorResolution = 0x5,
  WICGifLogicalScreenDescriptorSortFlag = 0x6,
  WICGifLogicalScreenDescriptorGlobalColorTableSize = 0x7,
  WICGifLogicalScreenDescriptorBackgroundColorIndex = 0x8,
  WICGifLogicalScreenDescriptorPixelAspectRatio = 0x9,
  WICGifLogicalScreenDescriptorProperties_FORCE_DWORD = 0x7fffffff
} ;

Constantes

 
WICGifLogicalScreenSignature
Valeur : 0x1
[VT_UI1
VT_VECTOR] Indique la propriété de signature.
WICGifLogicalScreenDescriptorWidth
Valeur : 0x2
[VT_UI2] Indique la largeur en pixels.
WICGifLogicalScreenDescriptorHeight
Valeur : 0x3
[VT_UI2] Indique la hauteur en pixels.
WICGifLogicalScreenDescriptorGlobalColorTableFlag
Valeur : 0x4
[VT_BOOL] Indique l’indicateur de table de couleurs globale. TRUE si une table de couleurs globale est présente ; sinon, FALSE.
WICGifLogicalScreenDescriptorColorResolution
Valeur : 0x5
[VT_UI1] Indique la résolution de couleur en bits par pixel.
WICGifLogicalScreenDescriptorSortFlag
Valeur : 0x6
[VT_BOOL] Indique l’indicateur de tableau de couleurs triées. TRUE si la table est triée ; sinon, FALSE.
WICGifLogicalScreenDescriptorGlobalColorTableSize
Valeur : 0x7
[VT_UI1] Indique la valeur utilisée pour calculer le nombre d’octets contenus dans la table de couleurs globale.

Pour calculer la taille réelle de la table de couleurs, élèvez 2 à la valeur du champ + 1.
WICGifLogicalScreenDescriptorBackgroundColorIndex
Valeur : 0x8
[VT_UI1] Indique l’index dans la table de couleurs à utiliser pour l’arrière-plan (pixels non définis dans l’image).
WICGifLogicalScreenDescriptorPixelAspectRatio
Valeur : 0x9
[VT_UI1] Indique le facteur utilisé pour calculer une approximation des proportions.
WICGifLogicalScreenDescriptorProperties_FORCE_DWORD
Valeur : 0x7fffffff

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 7, Windows Vista avec SP2 et Mise à jour de plateforme pour Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 R2, Windows Server 2008 avec SP2 et Mise à jour de plateforme pour Windows Server 2008 [applications de bureau uniquement]
En-tête wincodec.h