![]() |
simage
1.8.4
Coin3D texture image library
|
#include <simage_qimage.h>#include <qglobal.h>#include <qimage.h>#include <qstring.h>#include <stdio.h>#include <string.h>#include <ctype.h>#include <stdlib.h>Macros | |
| #define | ERR_MEM 2 |
| #define | ERR_NO_ERROR 0 |
| #define | ERR_OPEN 1 |
| #define | ERR_QIMAGE_WRITE 5 |
| #define | ERR_UNSUPPORTED_WRITE 6 |
| #define | MAX_EXT_LEN 255 |
| #define | QT4 0 |
Functions | |
| static int | qimage_set_save_format (const char *ext, char *buf) |
| int | simage_qimage_error (char *buffer, int buflen) |
| char * | simage_qimage_get_savers (void) |
| int | simage_qimage_identify (const char *ptr, const unsigned char *header, int headerlen) |
| unsigned char * | simage_qimage_load (const char *filename, int *width_ret, int *height_ret, int *numComponents_ret) |
| int | simage_qimage_save (const char *filename, const unsigned char *bytes, int width, int height, int numcomponents, const char *filetypeext) |
Variables | |
| static int | qimageerror = 0 |
| #define ERR_MEM 2 |
| #define ERR_NO_ERROR 0 |
| #define ERR_OPEN 1 |
| #define ERR_QIMAGE_WRITE 5 |
| #define ERR_UNSUPPORTED_WRITE 6 |
| #define MAX_EXT_LEN 255 |
| #define QT4 0 |
|
static |
| int simage_qimage_error | ( | char * | buffer, |
| int | buflen ) |
| char * simage_qimage_get_savers | ( | void | ) |
| int simage_qimage_identify | ( | const char * | ptr, |
| const unsigned char * | header, | ||
| int | headerlen ) |
| unsigned char * simage_qimage_load | ( | const char * | filename, |
| int * | width_ret, | ||
| int * | height_ret, | ||
| int * | numComponents_ret ) |
| int simage_qimage_save | ( | const char * | filename, |
| const unsigned char * | bytes, | ||
| int | width, | ||
| int | height, | ||
| int | numcomponents, | ||
| const char * | filetypeext ) |
|
static |