|
Wavelet and Image class library
1.3.2
|
00001 /* 00002 * A simple library for PPM read and write functions... 00003 * 00004 * $Date$ 00005 * $Revision$ 00006 * 00007 */ 00008 00009 #ifndef PPMLIB_H__ 00010 #define PPMLIB_H__ 00011 00014 #include "WImage/miscdefs.h" 00015 #include <stdio.h> 00016 00028 pixel *ppm_read (const char *fname, int *height, int *width, int *cmax); 00029 00042 int ppm_write (const char *fname, pixel *pic, int height, int width, int cmax); 00043 00055 pixel *ppm_fromStream (FILE *in, int *height, int *width, int *cmax); 00068 int ppm_toStream (FILE *out, pixel *pic, int height, int width, int cmax); 00069 00070 #endif /* PPMLIB_H__ */
1.7.6.1