WICGifGraphicControlExtensionProperties enumeration

Specifies the graphic control extension metadata properties that define the transitions between each frame animation for Graphics Interchange Format (GIF) images.

Syntax


typedef enum WICGifGraphicControlExtensionProperties { 
  WICGifGraphicControlExtensionDisposal               = 0x00000001,
  WICGifGraphicControlExtensionUserInputFlag          = 0x00000002,
  WICGifGraphicControlExtensionTransparencyFlag       = 0x00000003,
  WICGifGraphicControlExtensionDelay                  = 0x00000004,
  WICGifGraphicControlExtensionTransparentColorIndex  = 0x00000005
} WICGifGraphicControlExtensionProperties;

Constants

WICGifGraphicControlExtensionDisposal

[VT_UI1] Indicates the disposal requirements. 0 - no disposal, 1 - do not dispose, 2 - restore to background color, 3 - restore to previous.

WICGifGraphicControlExtensionUserInputFlag

[VT_BOOL] Indicates the user input flag. TRUE if user input should advance to the next frame; otherwise, FALSE.

WICGifGraphicControlExtensionTransparencyFlag

[VT_BOOL] Indicates the transparency flag. TRUE if a transparent color in is in the color table for this frame; otherwise, FALSE.

WICGifGraphicControlExtensionDelay

[VT_UI2] Indicates how long to display the next frame before advancing to the next frame, in units of 1/100th of a second.

WICGifGraphicControlExtensionTransparentColorIndex

[VT_UI1] Indicates which color in the palette should be treated as transparent.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

Wincodec.h

IDL

Wincodec.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft