The "imc" Package

These routines provide a number of image conversion routines.

Library: karma
Link With: -lkarma

Functions

imc_24to8Convert a 24 bit truecolour image to an 8 bit pseudocolour image.


Functions


flag imc_24to8 (unsigned int image_size, unsigned char *image_reds, unsigned char *image_greens, unsigned char *image_blues, int stride24, unsigned char *out_image, int stride8, unsigned int max_colours, unsigned int speed, packet_desc **pack_desc, char **packet)

Convert a 24 bit truecolour image to an 8 bit pseudocolour image.

Parameters:

Returns: TRUE on success, else FALSE.
Multithreading Level: Unsafe


Contact: Richard Gooch
Web Development: Ariel Internet Services