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)
Function Documentation
void imConvertPacking
(
const void *
src_data,
void *
dst_data,
int
width,
int
height,
int
depth,
int
data_type,
int
src_is_packed
)
Changes the packing of the data buffer.
void imConvertMapToRGB
(
unsigned char *
data,
int
count,
int
depth,
int
packed,
long *
palette,
int
palette_count
)
Changes in-place a MAP data into a RGB data. The data must have room for the RGB image.
depth can be 3 or 4. count=width*height.
Very usefull for OpenGL applications.