File: ppmread.hpp

package info (click to toggle)
abuse 2.00-12
  • links: PTS
  • area: main
  • in suites: slink
  • size: 12,708 kB
  • ctags: 15,389
  • sloc: ansic: 115,852; cpp: 6,792; lisp: 2,066; sh: 1,734; makefile: 1,601; asm: 264
file content (11 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __PPMREAD__
#define __PPMREAD__
#include "image.hpp"
#include "palette.hpp"
#define PPM_R3G3B2 1
#define PPM_BW 2
#define PPM_REG 3
extern image *read_ppm(char *fn,palette *&pal, int pal_type=0);
extern void write_ppm(image *im,palette *pal,char *fn);
#endif