Functions | |
bool | CxImage::LoadResource (HRSRC hRes, uint32_t imagetype, HMODULE hModule=NULL) |
bool | CxImage::Load (const TCHAR *filename, uint32_t imagetype=0) |
bool | CxImage::Decode (FILE *hFile, uint32_t imagetype) |
bool | CxImage::Decode (CxFile *hFile, uint32_t imagetype) |
bool | CxImage::Decode (uint8_t *buffer, uint32_t size, uint32_t imagetype) |
bool | CxImage::CheckFormat (CxFile *hFile, uint32_t imagetype=0) |
bool | CxImage::CheckFormat (uint8_t *buffer, uint32_t size, uint32_t imagetype=0) |
bool CxImage::CheckFormat | ( | uint8_t * | buffer, | |
uint32_t | size, | |||
uint32_t | imagetype = 0 | |||
) | [inherited] |
bool CxImage::CheckFormat | ( | CxFile * | hFile, | |
uint32_t | imagetype = 0 | |||
) | [inherited] |
Loads an image from CxFile object
hFile,: | file handle (CxMemFile or CxIOFile), with read access. | |
imagetype,: | file format, default = 0 (CXIMAGE_FORMAT_UNKNOWN) |
bool CxImage::Decode | ( | uint8_t * | buffer, | |
uint32_t | size, | |||
uint32_t | imagetype | |||
) | [inherited] |
Loads an image from memory buffer
buffer,: | memory buffer | |
size,: | size of buffer | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Decode | ( | CxFile * | hFile, | |
uint32_t | imagetype | |||
) | [inherited] |
Loads an image from CxFile object
hFile,: | file handle (CxMemFile or CxIOFile), with read access. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Decode | ( | FILE * | hFile, | |
uint32_t | imagetype | |||
) | [inherited] |
Loads an image from file handle.
hFile,: | file handle, with read access. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Load | ( | const TCHAR * | filename, | |
uint32_t | imagetype = 0 | |||
) | [inherited] |
Reads from disk the image in a specific format.
filename,: | file name | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::LoadResource | ( | HRSRC | hRes, | |
uint32_t | imagetype, | |||
HMODULE | hModule = NULL | |||
) | [inherited] |
Loads an image from the application resources.
hRes,: | the resource handle returned by FindResource(). | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS. | |
hModule,: | NULL for internal resource, or external application/DLL hinstance returned by LoadLibray. |