source: abuse/tags/pd/imlib/include/ppmread.hpp

Last change on this file was 49, checked in by Sam Hocevar, 11 years ago
  • Imported original public domain release, for future reference.
File size: 268 bytes
Line 
1#ifndef __PPMREAD__
2#define __PPMREAD__
3#include "image.hpp"
4#include "palette.hpp"
5#define PPM_R3G3B2 1
6#define PPM_BW 2
7#define PPM_REG 3
8extern image *read_ppm(char *fn,palette *&pal, int pal_type=0);
9extern void write_ppm(image *im,palette *pal,char *fn);
10#endif
11
Note: See TracBrowser for help on using the repository browser.