Image Conversion. More...
Enumerations | |
enum | imComplex2Real { IM_CPX_REAL, IM_CPX_IMAG, IM_CPX_MAG, IM_CPX_PHASE } |
enum | imGammaFactor { IM_GAMMA_LINEAR = 0, IM_GAMMA_LOGLITE = -10, IM_GAMMA_LOGHEAVY = -1000, IM_GAMMA_EXPLITE = 2, IM_GAMMA_EXPHEAVY = 7 } |
enum | imCastMode { IM_CAST_MINMAX, IM_CAST_FIXED, IM_CAST_DIRECT, IM_CAST_USER } |
Functions | |
int | imConvertDataType (const imImage *src_image, imImage *dst_image, int cpx2real, double gamma, int absolute, int cast_mode) |
int | imConvertColorSpace (const imImage *src_image, imImage *dst_image) |
int | imConvertToBitmap (const imImage *src_image, imImage *dst_image, int cpx2real, double gamma, int absolute, int cast_mode) |
void * | imImageGetOpenGLData (const imImage *image, int *glformat) |
imImage * | imImageCreateFromOpenGLData (int width, int height, int glformat, const void *gldata) |
void | imConvertPacking (const void *src_data, void *dst_data, int width, int height, int src_depth, int dst_depth, int data_type, int src_is_packed) |
void | imConvertMapToRGB (unsigned char *data, int count, int depth, int packed, long *palette, int palette_count) |
int | imConvertRGB2Map (int width, int height, unsigned char *red, unsigned char *green, unsigned char *blue, unsigned char *map, long *palette, int *palette_count) |
int | imConvertRGB2MapCounter (int width, int height, unsigned char *red, unsigned char *green, unsigned char *blue, unsigned char *map, long *palette, int *palette_count, int counter) |
See Copyright Notice in im_lib.h