IMG_pnm.c
changeset 528 7f9e88f4b45e
parent 496 6332f9425dcc
child 575 36e9e2255178
equal deleted inserted replaced
527:a26235cc1970 528:7f9e88f4b45e
    24  *
    24  *
    25  * Supports: PBM, PGM and PPM, ASCII and binary formats
    25  * Supports: PBM, PGM and PPM, ASCII and binary formats
    26  * (PBM and PGM are loaded as 8bpp surfaces)
    26  * (PBM and PGM are loaded as 8bpp surfaces)
    27  * Does not support: maximum component value > 255
    27  * Does not support: maximum component value > 255
    28  */
    28  */
    29 
       
    30 #include <stdio.h>
       
    31 #include <stdlib.h>
       
    32 #include <ctype.h>
       
    33 #include <string.h>
       
    34 
    29 
    35 #include "SDL_image.h"
    30 #include "SDL_image.h"
    36 
    31 
    37 #ifdef LOAD_PNM
    32 #ifdef LOAD_PNM
    38 
    33