ItemDataPosition enumeration (gdiplusimaging.h)

The ItemDataPosition enumeration is used to specify the location of custom metadata in an image file.

Syntax

typedef enum ItemDataPosition {
  ItemDataPositionAfterHeader = 0x0,
  ItemDataPositionAfterPalette = 0x1,
  ItemDataPositionAfterBits = 0x2
} ;

Constants

 
ItemDataPositionAfterHeader
Value: 0x0
Specifies that custom metadata is stored after the file header. Valid for JPEG, PNG, and GIF.
ItemDataPositionAfterPalette
Value: 0x1
Specifies that custom metadata is stored after the palette. Valid for PNG.
ItemDataPositionAfterBits
Value: 0x2
Specifies that custom metadata is stored after the pixel data. Valid for GIF and PNG.

Remarks

GDI+ supports custom metadata for JPEG, PNG, and GIF image files.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header gdiplusimaging.h (include Gdiplus.h)

See also

ImageItemData