Adonthell
0.4
|
Allow reading and writing PNM files. More...
#include <pnm.h>
Static Public Member Functions | |
static void * | get (SDL_RWops *file, u_int16 *length, u_int16 *height) |
Reads a PNM image from an opened file. More... | |
static void | put (SDL_RWops *file, void *image, u_int16 length, u_int16 height) |
Saves a PNM image into an opened file. More... | |
Reads a PNM image from an opened file.
file | opened file from which to read. |
length | pointer to the integer which will contain the image's length. |
height | pointer to the integer which will contain the image's height. |