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