im.h File Reference
Detailed Description
See Copyright Notice in im_lib.h- Id
- im.h,v 1.10 2006/11/22 19:55:32 scuri Exp
Go to the source code of this file.
Typedefs | |
typedef _imFile | imFile |
Enumerations | |
enum | imDataType { IM_BYTE, IM_USHORT, IM_INT, IM_FLOAT, IM_CFLOAT } |
enum | imColorSpace { IM_RGB, IM_MAP, IM_GRAY, IM_BINARY, IM_CMYK, IM_YCBCR, IM_LAB, IM_LUV, IM_XYZ } |
enum | imColorModeConfig { IM_ALPHA = 0x100, IM_PACKED = 0x200, IM_TOPDOWN = 0x400 } |
enum | imErrorCodes { IM_ERR_NONE, IM_ERR_OPEN, IM_ERR_ACCESS, IM_ERR_FORMAT, IM_ERR_DATA, IM_ERR_COMPRESS, IM_ERR_MEM, IM_ERR_COUNTER } |
Functions | |
imFile * | imFileOpen (const char *file_name, int *error) |
imFile * | imFileOpenAs (const char *file_name, const char *format, int *error) |
imFile * | imFileNew (const char *file_name, const char *format, int *error) |
void | imFileClose (imFile *ifile) |
void * | imFileHandle (imFile *ifile, int index) |
void | imFileGetInfo (imFile *ifile, char *format, char *compression, int *image_count) |
void | imFileSetInfo (imFile *ifile, const char *compression) |
void | imFileSetAttribute (imFile *ifile, const char *attrib, int data_type, int count, const void *data) |
const void * | imFileGetAttribute (imFile *ifile, const char *attrib, int *data_type, int *count) |
void | imFileGetAttributeList (imFile *ifile, char **attrib, int *attrib_count) |
void | imFileGetPalette (imFile *ifile, long *palette, int *palette_count) |
void | imFileSetPalette (imFile *ifile, long *palette, int palette_count) |
int | imFileReadImageInfo (imFile *ifile, int index, int *width, int *height, int *file_color_mode, int *file_data_type) |
int | imFileWriteImageInfo (imFile *ifile, int width, int height, int user_color_mode, int user_data_type) |
int | imFileReadImageData (imFile *ifile, void *data, int convert2bitmap, int color_mode_flags) |
int | imFileWriteImageData (imFile *ifile, void *data) |
void | imFormatRegisterInternal (void) |
void | imFormatRemoveAll (void) |
void | imFormatList (char **format_list, int *format_count) |
int | imFormatInfo (const char *format, char *desc, char *ext, int *can_sequence) |
int | imFormatCompressions (const char *format, char **comp, int *comp_count, int color_mode, int data_type) |
int | imFormatCanWriteImage (const char *format, const char *compression, int color_mode, int data_type) |