00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | Jose Miguel Buenaposada Biencinto. Mar 2000. 00005 | 00006 \-------------------------------------------------------------------- 00007 */ 00008 00010 00011 #ifndef INCL_PLPGM 00012 #define INCL_PLPGM 00013 00014 typedef struct _PgmHeader 00015 { 00016 int ImageType; // Image Type 00017 int ImageWidth; // Image Width 00018 int ImageHeight; // Image Height 00019 int MaxGrayValue; 00020 00021 } PGMHEADER; 00022 00023 #define PGM_MAXLINESIZE 80 // Maximum number of characters per line 00024 00025 // Definitions for image types. 00026 #define PGM_P2 0 00027 #define PGM_P5 1 00028 00029 #endif