| 1 |
/* image-header.h: declarations for a generic image header. */ |
| 2 |
|
| 3 |
#ifndef IMAGE_HEADER_H |
| 4 |
#define IMAGE_HEADER_H |
| 5 |
|
| 6 |
|
| 7 |
/* The important general information about the image data. |
| 8 |
See `get_{img,pbm}_header' for the full details of the headers for |
| 9 |
the particular formats. */ |
| 10 |
typedef struct |
| 11 |
{ |
| 12 |
unsigned short hres, vres; /* In pixels per inch. */ |
| 13 |
unsigned short width, height; /* In bits. */ |
| 14 |
unsigned short depth; /* Perhaps the depth? */ |
| 15 |
unsigned format; /* (for pbm) Whether packed or not. */ |
| 16 |
} image_header_type; |
| 17 |
|
| 18 |
#endif /* not IMAGE_HEADER_H */ |
| 19 |
|