Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Functions | |
int | readppm (const char *name, int *xres, int *yres, unsigned char **imgdata) |
int | writeppm (const char *name, int xres, int yres, unsigned char *imgdata) |
int | writeppm48 (const char *name, int xres, int yres, unsigned char *imgdata) |
int readppm | ( | const char * | name, |
int * | xres, | ||
int * | yres, | ||
unsigned char ** | imgdata | ||
) |
Definition at line 42 of file ppm.c.
References getint(), IMAGEBADFILE, IMAGENOERR, IMAGEREADERR, and IMAGEUNSUP.
Referenced by readimage().
int writeppm | ( | const char * | name, |
int | xres, | ||
int | yres, | ||
unsigned char * | imgdata | ||
) |
Definition at line 85 of file ppm.c.
References IMAGEBADFILE, IMAGENOERR, and IMAGEWRITEERR.
Referenced by writeimage().
int writeppm48 | ( | const char * | name, |
int | xres, | ||
int | yres, | ||
unsigned char * | imgdata | ||
) |
Definition at line 111 of file ppm.c.
References IMAGEBADFILE, IMAGENOERR, and IMAGEWRITEERR.
Referenced by writeimage().