FS2_Open
Open source remastering of the Freespace 2 engine
|
Go to the source code of this file.
Macros | |
#define | PNG_ERROR_INVALID -1 |
#define | PNG_ERROR_NONE 0 |
#define | PNG_ERROR_READING 1 |
Functions | |
int | png_read_header (const char *real_filename, CFILE *img_cfp=NULL, int *w=0, int *h=0, int *bpp=0, ubyte *palette=NULL) |
int | png_read_bitmap (const char *real_filename, ubyte *image_data, ubyte *bpp, int dest_size, int cf_type=CF_TYPE_ANY) |
#define PNG_ERROR_INVALID -1 |
Definition at line 7 of file pngutils.h.
#define PNG_ERROR_NONE 0 |
Definition at line 8 of file pngutils.h.
#define PNG_ERROR_READING 1 |
Definition at line 9 of file pngutils.h.
int png_read_bitmap | ( | const char * | real_filename, |
ubyte * | image_data, | ||
ubyte * | bpp, | ||
int | dest_size, | ||
int | cf_type = CF_TYPE_ANY |
||
) |
Definition at line 133 of file pngutils.cpp.