|
Coin3D is Free Software, published under the BSD 3-clause license. |
https://bitbucket.org/Coin3D/ http://www.kongsberg.com/kogt/ |
#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 | QT4 0 |
| #define | ERR_NO_ERROR 0 |
| #define | ERR_OPEN 1 |
| #define | ERR_MEM 2 |
| #define | ERR_QIMAGE_WRITE 5 |
| #define | ERR_UNSUPPORTED_WRITE 6 |
| #define | MAX_EXT_LEN 255 |
Functions | |
| int | simage_qimage_error (char *buffer, int buflen) |
| 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) |
| static int | qimage_set_save_format (const char *ext, char *buf) |
| char * | simage_qimage_get_savers (void) |
| 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 QT4 0 |
| #define ERR_NO_ERROR 0 |
| #define ERR_OPEN 1 |
| #define ERR_MEM 2 |
| #define ERR_QIMAGE_WRITE 5 |
| #define ERR_UNSUPPORTED_WRITE 6 |
| #define MAX_EXT_LEN 255 |
| int simage_qimage_error | ( | char * | buffer, |
| int | buflen | ||
| ) |
| 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 | ||
| ) |
|
static |
| char* simage_qimage_get_savers | ( | void | ) |
| int simage_qimage_save | ( | const char * | filename, |
| const unsigned char * | bytes, | ||
| int | width, | ||
| int | height, | ||
| int | numcomponents, | ||
| const char * | filetypeext | ||
| ) |
|
static |