Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

plpgm.h

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

Generated on Sun Jun 6 13:42:22 2004 for paintlib by doxygen 1.3.2