IMG_pnm.c
changeset 119 336c49447e0d
parent 118 c5e736a47ad2
child 121 1bf9c0c87374
     1.1 --- a/IMG_pnm.c	Sat Feb 04 22:26:04 2006 +0000
     1.2 +++ b/IMG_pnm.c	Sat Feb 04 23:26:45 2006 +0000
     1.3 @@ -57,6 +57,7 @@
     1.4  		 * P4	PBM, binary format
     1.5  		 * P5	PGM, binary format
     1.6  		 * P6	PPM, binary format
     1.7 +		 * P7	PAM, a general wrapper for PNM data
     1.8  		 */
     1.9  		if ( magic[0] == 'P' && magic[1] >= '1' && magic[1] <= '6' ) {
    1.10  			is_PNM = 1;
    1.11 @@ -114,7 +115,7 @@
    1.12  	char *error = NULL;
    1.13  	Uint8 magic[2];
    1.14  	int ascii;
    1.15 -	enum { PBM, PGM, PPM } kind;
    1.16 +	enum { PBM, PGM, PPM, PAM } kind;
    1.17  
    1.18  #define ERROR(s) do { error = (s); goto done; } while(0)
    1.19