![]() |
simage
1.8.4
Coin3D texture image library
|
#include <config.h>#include <simage_pic.h>#include <stdio.h>#include <string.h>#include <stdlib.h>Macros | |
| #define | ERROR_MEMORY 3 |
| #define | ERROR_NO_ERROR 0 |
| #define | ERROR_READ_ERROR 4 |
| #define | ERROR_READING_HEADER 1 |
| #define | ERROR_READING_PALETTE 2 |
Functions | |
| static int | readint16 (FILE *fp, int *res) |
| int | simage_pic_error (char *buffer, int bufferlen) |
| int | simage_pic_identify (const char *ptr, const unsigned char *header, int headerlen) |
| unsigned char * | simage_pic_load (const char *filename, int *width_ret, int *height_ret, int *numComponents_ret) |
Variables | |
| static int | picerror = 0 |
| #define ERROR_MEMORY 3 |
| #define ERROR_NO_ERROR 0 |
| #define ERROR_READ_ERROR 4 |
| #define ERROR_READING_HEADER 1 |
| #define ERROR_READING_PALETTE 2 |
|
static |
| int simage_pic_error | ( | char * | buffer, |
| int | bufferlen ) |
| int simage_pic_identify | ( | const char * | ptr, |
| const unsigned char * | header, | ||
| int | headerlen ) |
| unsigned char * simage_pic_load | ( | const char * | filename, |
| int * | width_ret, | ||
| int * | height_ret, | ||
| int * | numComponents_ret ) |
|
static |