![]() |
Leptonica 1.85.0
Image processing and image analysis suite
|
Go to the source code of this file.
Data Structures | |
| struct | BMP_FileHeader |
| struct | BMP_InfoHeader |
Macros | |
| #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 |
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 BMP_FHBYTES sizeof(BMP_FH) |
Number of bytes in a BMP file header
Definition at line 83 of file bmp.h.
Referenced by pixReadMemBmp(), and pixWriteMemBmp().
| #define BMP_IHBYTES sizeof(BMP_IH) |
Number of bytes in a BMP info header
Definition at line 108 of file bmp.h.
Referenced by pixReadMemBmp(), and pixWriteMemBmp().
| typedef struct BMP_FileHeader BMP_FH |
| typedef struct BMP_InfoHeader BMP_IH |