IM: im_convert.h File Reference

IM - An Imaging Tool

im_convert.h File Reference


Detailed Description

See Copyright Notice in im_lib.h
Id
im_convert.h,v 1.3 2005/12/10 00:54:39 scuri Exp

Go to the source code of this file.

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 }

Functions

int imConvertDataType (const imImage *src_image, imImage *dst_image, int cpx2real, float gamma, int abssolute, int cast_mode)
int imConvertColorSpace (const imImage *src_image, imImage *dst_image)
int imConvertToBitmap (const imImage *src_image, imImage *dst_image, int cpx2real, float gamma, int abssolute, int cast_mode)
void imConvertPacking (const void *src_data, void *dst_data, int width, int height, int 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)