JWM Source Documentation
image.h
Go to the documentation of this file.
00001 00010 #ifndef IMAGE_H 00011 #define IMAGE_H 00012 00014 typedef struct ImageNode { 00015 00016 int width; 00017 int height; 00018 unsigned char *data; 00020 } ImageNode; 00021 00026 ImageNode *LoadImage(const char *fileName); 00027 00033 ImageNode *LoadImageFromData(char **data); 00034 00038 void DestroyImage(ImageNode *image); 00039 00040 #endif /* IMAGE_H */ 00041