|
Functions | |
| 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) |
| 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 | |||
| ) |
Changes the packing of the data buffer. Both must have the same width, height and data_type.
It can be used to copy data even if depth=1.
Unsed in OpenGL data conversions.
| 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.
Unsed in OpenGL data conversions.
1.7.1