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

plppm.h

Go to the documentation of this file.
00001 /*
00002 /--------------------------------------------------------------------
00003 |
00004 |      $Id: plppm.h,v 1.2 2003/08/03 12:03:20 uzadow Exp $
00005 |
00006 |      Copyright (c) 2001 Ulrich von Zadow
00007 |
00008 |      Originally by Todd Harris - Mar 2001
00009 |      adadapted from pgm.h originally by
00010 |                        Jose Miguel Buenaposada Biencinto. Mar 2000.
00011 |
00012 \--------------------------------------------------------------------
00013 */
00014 
00015 //! \file
00016 //! Defines structures and constants present in PGM files.
00017 
00018 #ifndef INCL_PLPPM
00019 #define INCL_PLPPM
00020 
00021 typedef struct _PpmHeader
00022 {
00023     int ImageType;           // Image Type
00024     int ImageWidth;          // Image Width
00025     int ImageHeight;         // Image Height
00026         int MaxSampleValue;                // Max sample value (RBG)
00027 
00028 } PPMHEADER;
00029 
00030 #define PPM_MAXLINESIZE 80  // Maximum number of characters per line
00031 
00032 // Definitions for image types.
00033 #define PPM_P3 0
00034 #define PPM_P6 1
00035 
00036 #endif
00037 
00038 /*
00039 /--------------------------------------------------------------------
00040 |
00041 |      $Log: plppm.h,v $
00042 |      Revision 1.2  2003/08/03 12:03:20  uzadow
00043 |      Added unicode support; fixed some header includes.
00044 |
00045 |      Revision 1.1  2001/10/16 17:51:32  uzadow
00046 |      Added ppm support (Todd Harris)
00047 |
00048 |
00049 \--------------------------------------------------------------------
00050 */

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