Bsoft function

img_indexed2RGB

Source:

src/img/img_colour.c

Description:

Converts an image from indexed colour map to RGB (red-green-blue).

Algorithm:

	The RGB values of the colour map is applied to each pixel.

The key variable that is changed is the number channels, going from
one for gray scale images to three for RGB.

Arguments:

Bimage* pimage (replaced by new image).

Returns:

int error code.

Prototype:

int img_indexed2RGB(Bimage* p)

Functions used:

balloc

Other objects included:

struct Bimage


Generated by bdoc.pl on Mon Jun 15 11:47:26 2009


Back to the Bsoft home