//////////////////////////////////////////////////////////////////////////
// BGI.H: struct's for BGI files created w/ BMP2BGI
//////////////////////////////////////////////////////////////////////////

typedef struct BGIPreface
{
        int PType;                              // 0=CGA, 1=EGA/VGA, 2=SVGA/IBM8514
        struct palettetype palette;             // Color Palette
        int Width;                              // Image's width in pixels
        int Height;                             // Image's height in pixels
        long Foffset;                           // Offset in file where BGI image is
} BGIPREFACE;

#define NULLIMAGESIZE 0x0                       // If image is 64K+, imagesize()
                                                // will return this value