FILEINFO Flags

The following are possible values for the Flags field in the FILEINFO structure:

Constant

Meaning

FILEINFO_INTERLACED

[0x00000001] Interlaced file

FILEINFO_PROGRESSIVE

[0x00000002] Progressive file

FILEINFO_HAS_STAMP

[0x00000004] The file includes a stamp image.

FILEINFO_HAS_GLOBALBACKGROUND

[0x00000008] The file has a global background color, specified in the GlobalBackground field of the FILEINFO structure.

FILEINFO_HAS_GLOBALPALETTE

[0x00000010] The file has a global palette, specified in the GlobalPalette field of the FILEINFO structure.

FILEINFO_HAS_GLOBALLOOP

[0x00000020] The GlobalLoop field that determines how many times an animation loops, is valid. If this flag is not set, GlobalLoop field in the FILEINFO structure does not contain valid data.

FILEINFO_COMPRESSED

[0x00000040] The file can be loaded as a 1-bit compressed image. For more information, refer to Speeding Up 1-Bit Documents.

FILEINFO_NOPALETTE

[0x00000080] The file is a grayscale TIF file, without a palette.

FILEINFO_ROTATED

[0x00000100] Image with an extended ViewPerspective

FILEINFO_SIGNED

[0x00000200] Image with signed values for pixels

FILEINFO_LOSSLESSJPEG

[0x00000400] Internal flag, indicating that the JPEG file uses the lossless compression.

FILEINFO_HAS_ALPHA

[0x00000800] The file has alpha channel information.

FILEINFO_FORMATVALID

[0x00001000] Only the format type is valid.

FILEINFO_INFOVALID

[0x00002000] The entire FILEINFO structure is valid.

FILEINFO_LINK

[0x00004000] The file is a Windows 95/NT link.

FILEINFO_IFDVALID

[0x00008000] The IFD field is valid.

FILEINFO_NO_RESOLUTION

[0x00020000] The file does not contain resolution information.