simage
1.8.3
Coin3D texture image library
|
#include <simage_cgimage.h>
#include <CoreFoundation/CoreFoundation.h>
#include <ApplicationServices/ApplicationServices.h>
Enumerations | |
enum | { ERR_NO_ERROR , ERR_OPEN , ERR_READ , ERR_MEM , ERR_OPEN_WRITE , ERR_WRITE , ERR_NOT_IMPLEMENTED , ERR_INIT } |
Functions | |
static CGImageSourceRef | create_image_source (const char *file) |
int | simage_cgimage_error (char *cstr, int buflen) |
char * | simage_cgimage_get_savers (void) |
int | simage_cgimage_identify (const char *file, const unsigned char *header, int headerlen) |
unsigned char * | simage_cgimage_load (const char *file, int *width, int *height, int *numcomponents) |
int | simage_cgimage_save (const char *filename, const unsigned char *bytes, int width, int height, int numcomponents, const char *ext) |
Variables | |
static int | cgimageerror = ERR_NO_ERROR |
anonymous enum |
|
static |
int simage_cgimage_error | ( | char * | cstr, |
int | buflen ) |
char * simage_cgimage_get_savers | ( | void | ) |
int simage_cgimage_identify | ( | const char * | file, |
const unsigned char * | header, | ||
int | headerlen ) |
unsigned char * simage_cgimage_load | ( | const char * | file, |
int * | width, | ||
int * | height, | ||
int * | numcomponents ) |
int simage_cgimage_save | ( | const char * | filename, |
const unsigned char * | bytes, | ||
int | width, | ||
int | height, | ||
int | numcomponents, | ||
const char * | ext ) |
|
static |