File: image-header.h

package info (click to toggle)
autotrace 0.31.1-13
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 2,496 kB
  • ctags: 1,202
  • sloc: ansic: 12,595; sh: 8,311; makefile: 204
file content (20 lines) | stat: -rw-r--r-- 578 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* image-header.h: declarations for a generic image header. */

#ifndef IMAGE_HEADER_H
#define IMAGE_HEADER_H

#include "types.h"

/* The important general information about the image data.
   See `get_{img,pbm}_header' for the full details of the headers for
   the particular formats.  */
typedef struct
{
  unsigned short hres, vres;	/* In pixels per inch.  */
  unsigned short width, height;	/* In bits.  */
  unsigned short depth;		/* Perhaps the depth?  */
  unsigned format;		/* (for pbm) Whether packed or not.  */
} image_header_type;

#endif /* not IMAGE_HEADER_H */