Leptonica 1.68
C Image Processing Library

bmp.h File Reference

Structs for bmp file format (uncompressed) More...

Go to the source code of this file.

Data Structures

struct  BMP_FileHeader
struct  BMP_InfoHeader

Defines

#define BMP_FHBYTES   sizeof(BMP_FH)
#define BMP_IHBYTES   sizeof(BMP_IH)

Typedefs

typedef struct BMP_FileHeader BMP_FH
typedef struct BMP_InfoHeader BMP_IH

Detailed Description

Structs for bmp file format (uncompressed)

 This file is here to describe the fields in the header of
 the BMP file.  These fields are not used directly in Leptonica.
 The only thing we use are the sizes of these two headers.
 Furthermore, because of potential namespace conflicts with
 the typedefs and defined sizes, we have changed the names
 to protect anyone who may also need to use the original definitions.
 Thanks to J. D. Bryan for pointing out the potential problems when
 developing on Win32 compatible systems.

Definition in file bmp.h.


Define Documentation

#define BMP_FHBYTES   sizeof(BMP_FH)

Definition at line 49 of file bmp.h.

Referenced by pixReadStreamBmp(), and pixWriteStreamBmp().

#define BMP_IHBYTES   sizeof(BMP_IH)

Definition at line 71 of file bmp.h.

Referenced by pixReadStreamBmp(), and pixWriteStreamBmp().


Typedef Documentation

typedef struct BMP_FileHeader BMP_FH

Definition at line 47 of file bmp.h.

typedef struct BMP_InfoHeader BMP_IH

Definition at line 69 of file bmp.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines