#include <imgloader.h>
Static Public Member Functions | |
static bool | decodePNGImage (const byte *pFileData, uint fileSize, Graphics::Surface *dest) |
static bool | decodeThumbnailImage (const byte *pFileData, uint fileSize, Graphics::Surface *dest) |
Class for loading PNG files, and PNG data embedded into savegames.
Originally written by Malte Thiesen.
|
static |
Decode an image.
[in] | fileDatePtr | pointer to the image data |
[in] | fileSize | size of the image data in bytes |
[out] | dest | if successful, surface will contain the image data (storage is allocated via create). |