source:
abuse/tags/pd/macabuse/imlib/include/ppmread.hpp
Last change on this file was 49, checked in by , 15 years ago | |
---|---|
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 |
8 | extern image *read_ppm(char *fn,palette *&pal, int pal_type=0); |
9 | extern void write_ppm(image *im,palette *pal,char *fn); |
10 | #endif |
11 |
Note: See TracBrowser
for help on using the repository browser.