1 //------------------------------------------------------------------------------ 2 // File : ppm.hpp 3 //------------------------------------------------------------------------------ 4 //============================================================================ 5 // ppm.hpp : Portable Pixel Map image format module 6 //============================================================================ 7 8 void LoadPPM(const char *FileName, unsigned char* &Color, int &Width, int &Height); 9 void WritePPM(const char *FileName, unsigned char* Color, int Width, int Height); 10 void VFlip(unsigned char * Pix, int width, int height, int chan=3); 11