File: pbm.h

package info (click to toggle)
xloadimage 4.1-5potato1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,672 kB
  • ctags: 3,904
  • sloc: ansic: 35,709; makefile: 292; asm: 284; sh: 177
file content (13 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* pbm.h:
 *
 * PBM header file
 *
 * jim frost 10.15.89
 */

typedef struct {
  unsigned char width[2];
  unsigned char height[2];
} PBMCompact;

#define PM_SCALE(a, b, c) (long)((a) * (c))/(b)