/usr/include/tachyon/ppm.h is in libtachyon-dev 0.99~b2+dfsg-0.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | /*
* ppm.h - This file deals with PPM format image files (reading/writing)
*
* $Id: ppm.h,v 1.7 2011/01/13 04:04:38 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(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);
|