Functions | |
bool | CxImage::Save (const TCHAR *filename, uint32_t imagetype) |
bool | CxImage::Encode (FILE *hFile, uint32_t imagetype) |
bool | CxImage::Encode (CxFile *hFile, uint32_t imagetype) |
bool | CxImage::Encode (CxFile *hFile, CxImage **pImages, int32_t pagecount, uint32_t imagetype) |
bool | CxImage::Encode (FILE *hFile, CxImage **pImages, int32_t pagecount, uint32_t imagetype) |
bool | CxImage::Encode (uint8_t *&buffer, int32_t &size, uint32_t imagetype) |
bool | CxImage::Encode2RGBA (CxFile *hFile, bool bFlipY=false) |
bool | CxImage::Encode2RGBA (uint8_t *&buffer, int32_t &size, bool bFlipY=false) |
bool CxImage::Encode | ( | uint8_t *& | buffer, | |
int32_t & | size, | |||
uint32_t | imagetype | |||
) | [inherited] |
Saves to memory buffer the image in a specific format.
buffer,: | output memory buffer pointer. Must be NULL, the function allocates and fill the memory, the application must free the buffer, see also FreeMemory(). | |
size,: | output memory buffer size. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Encode | ( | FILE * | hFile, | |
CxImage ** | pImages, | |||
int32_t | pagecount, | |||
uint32_t | imagetype | |||
) | [inherited] |
bool CxImage::Encode | ( | CxFile * | hFile, | |
CxImage ** | pImages, | |||
int32_t | pagecount, | |||
uint32_t | imagetype | |||
) | [inherited] |
Saves to disk or memory pagecount images, referenced by an array of CxImage pointers.
hFile,: | file handle (CxMemFile or CxIOFile), with write access. | |
pImages,: | array of CxImage pointers. | |
pagecount,: | number of images. | |
imagetype,: | can be CXIMAGE_FORMAT_TIF, CXIMAGE_FORMAT_GIF or CXIMAGE_FORMAT_ICO. |
bool CxImage::Encode | ( | CxFile * | hFile, | |
uint32_t | imagetype | |||
) | [inherited] |
Saves to disk the image in a specific format.
hFile,: | file handle (CxMemFile or CxIOFile), with write access. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Encode | ( | FILE * | hFile, | |
uint32_t | imagetype | |||
) | [inherited] |
Saves to disk the image in a specific format.
hFile,: | file handle, open and enabled for writing. | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |
bool CxImage::Encode2RGBA | ( | uint8_t *& | buffer, | |
int32_t & | size, | |||
bool | bFlipY = false | |||
) | [inherited] |
exports the image into a RGBA buffer, Useful for OpenGL applications.
buffer,: | output memory buffer pointer. Must be NULL, the function allocates and fill the memory, the application must free the buffer, see also FreeMemory(). | |
size,: | output memory buffer size. | |
bFlipY,: | direction of Y axis. default = false. |
bool CxImage::Encode2RGBA | ( | CxFile * | hFile, | |
bool | bFlipY = false | |||
) | [inherited] |
exports the image into a RGBA buffer, Useful for OpenGL applications.
hFile,: | file handle (CxMemFile or CxIOFile), with write access. | |
bFlipY,: | direction of Y axis. default = false. |
bool CxImage::Save | ( | const TCHAR * | filename, | |
uint32_t | imagetype | |||
) | [inherited] |
Saves to disk the image in a specific format.
filename,: | file name | |
imagetype,: | file format, see ENUM_CXIMAGE_FORMATS |