12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
-
-
- #ifndef _UTILS_PNG_H_
- #define _UTILS_PNG_H_
-
- #include "TextureManager.h"
-
-
- int pngCheck(const char* filename);
-
-
- int pngLoad(const char* filename, unsigned char** image,
- unsigned int* width, unsigned int* height,
- TextureManager::ColorMode* mode, unsigned int* bpp);
-
-
- int pngSave(const char* filename, unsigned char* image,
- unsigned int width, unsigned int height,
- TextureManager::ColorMode mode, unsigned int bpp);
-
- #endif
|