Structure that contains information about an image.
struct ID_ImageInfo
{
ID_ImageInfo() { ZeroMemory(this, sizeof(*this)); };
DWORD dwFlags;
DWORD dwFormatID;
SIZE si;
int nBPS;
int nSPP;
int nPages;
int nMetadataTypes;
HGLOBAL hMetadataTypes;
};
dwFlags
Type: DWORD
ID_IIF flags
dwFormatID
Type: DWORD
Format identifier
si
Type: SIZE
Image dimensions
nBPS
Type: int
Bits per sample
nSPP
Type: int
Samples per pixel
nPages
Type: int
Number of pages
nMetadataTypes
Type: int
Page has this many types of Metadata, valid if PPF_METADATATYPES
hMetadataTypes
Type: HGLOBAL
GUID array of metadata types on page, valid if PPF_METADATATYPES
Used by the ID_GetImageInfo function.
Header: ID_PlugIn.h