1 #ifndef _SIMAGE_GDIPLUS_H_
2 #define _SIMAGE_GDIPLUS_H_
24 #ifndef SIMAGE_GDIPLUS_SUPPORT
25 #error "This file should not be used under the current configuration!"
35 const unsigned char * header,
45 const unsigned char * bytes,
67 int x,
int y,
int w,
int h,
int simage_gdiplus_identify(const char *filename, const unsigned char *header, int headerlen)
unsigned char * simage_gdiplus_load(const char *filename, int *width, int *height, int *numcomponents)
char * simage_gdiplus_get_savers(void)
void * simage_gdiplus_open(const char *filename, int *width, int *height, int *numcomponents)
void simage_gdiplus_close(void *opendata)
int simage_gdiplus_read_region(void *opendata, int x, int y, int w, int h, unsigned char *buf)
int simage_gdiplus_read_line(void *opendata, int y, unsigned char *buf)
int simage_gdiplus_save(const char *filename, const unsigned char *bytes, int width, int height, int numcomponents, const char *ext)
int simage_gdiplus_error(char *textbuffer, int buffersize)