ID_PageInfo struct

Structure that contains information about a page of an image.

Syntax

struct ID_PageInfo
{
   ID_PageInfo() { ZeroMemory(this, sizeof(*this)); };

   DWORD dwFlags;
   SIZE si;
   int nBPS;
   int nSPP;
   int nDelay;
   wchar_t szTitle[32];

   union
   {
      SIZE siDPI;
      int iTransColor;
   };
   int nMetadataTypes;
   HGLOBAL hMetadataTypes;
};

Members

dwFlags

Type: DWORD

ID_PPF flags

si

Type: SIZE

Page dimensions

nBPS

Type: int

Bits per sample

nSPP

Type: int

Samples per pixel

nDelay

Type: int

Frame delay in ms (for animation)

szTitle

Type: wchar_t[32]

Page title

{siDPI, iTransColor}

Type: union {SIZE, int}

siDPI: Image resolution in DPI (valid only if the PPF_DPI flag is given). iTranscolor: Transparent color index (valid only if PPF_TRANSCOLOR flag is given)

nMetadataTypes

Type: int

Page has n Types of Metadata, valid if PPF_METADATATYPES

hMetadataTypes

Type: HGLOBAL

GUID array of metadata types on page, valid if PPF_METADATATYPES

Remarks

Used by the ID_GetPageInfo function.

Requirements

Header: ID_PlugIn.h

See also: