Logo Search packages:      
Sourcecode: tachyon version File versions  Download package

ppm.h

/*
 *  ppm.h - This file deals with PPM format image files (reading/writing)
 *
 *  $Id: ppm.h,v 1.6 2007/02/13 04:38:48 johns Exp $
 */ 

/* For our puposes, we're interested only in the 3 byte per pixel 24 bit
   truecolor sort of file..  Probably won't implement any decent checking
   at this point, probably choke on things like the # comments.. */

int readppm(char * name, int * xres, int * yres, unsigned char **imgdata);
int writeppm(char *name, int xres, int yres, unsigned char *imgdata);
int writeppm48(char *name, int xres, int yres, unsigned char *imgdata);


Generated by  Doxygen 1.6.0   Back to index