1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
#ifndef _SIMAGE_CGIMAGE_H_
#define _SIMAGE_CGIMAGE_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#ifdef __cplusplus
extern "C" {
#endif
int simage_cgimage_error(char * textbuffer, int buffersize);
int simage_cgimage_identify(const char * filename,
const unsigned char * header,
int headerlen);
unsigned char * simage_cgimage_load(const char *filename,
int *width,
int *height,
int *numcomponents);
char * simage_cgimage_get_savers(void);
int simage_cgimage_save(const char *filename,
const unsigned char * bytes,
int width,
int height,
int numcomponents,
const char * ext);
#ifdef __cplusplus
}
#endif
#endif /* _SIMAGE_CGIMAGE_H_ */
|